Changes between Initial Version and Version 1 of Ticket #10144
- Timestamp:
- Jan 28, 2009, 9:52:50 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10144 – Description
initial v1 1 1 When the comment_tests test is run under jython, I get this error: 2 2 3 {{{ 3 4 ====================================================================== 4 5 ERROR: testGetCommentApp (regressiontests.comment_tests.tests.app_api_tests.CommentAppAPITests) … … 12 13 package = __import__(comments_app, '', '', ['']) 13 14 TypeError: str indices must be integers 14 15 }}} 15 16 16 17 The problem is that the __import__ function is taking a string for the second and third arguments when the parameters should be dictionaries. Python seems to coerce the strings into the correct format, but jython does not. … … 19 20 20 21 svn diff __init__.py 22 {{{ 21 23 Index: __init__.py 22 24 =================================================================== … … 32 34 raise ImproperlyConfigured("The COMMENTS_APP setting refers to "\ 33 35 "a non-existing package.") 36 }}}