Issue2347
Created on 2015-04-29.19:47:04 by jeff.allen, last changed 2015-05-19.22:09:15 by zyasoft.
msg9988 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2015-04-29.19:47:03 |
|
When run as a module (jython -m test.test_import_pep328) the test fails here:
testRelativeOrAbsolute_top_X2_1 (__main__.TestImportFunction) ... FAIL
testRelativeOrAbsolute_top_X2_2 (__main__.TestImportFunction) ... FAIL
testRelativeOrAbsolute_top_Y_1 (__main__.TestImportFunction) ... FAIL
testRelativeOrAbsolute_top_Y_2 (__main__.TestImportFunction) ... FAIL
all with generally the same error:
======================================================================
FAIL: testRelativeOrAbsolute_top_X2_1 (__main__.TestImportFunction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\jython\2.7rc3\Lib\test\test_import_pep328.py", line 279, in testRelativeOrAbsolute_top_X2_1
self.assertEqual(self.fullname, self.modX2.__name__)
AssertionError: 'test.TestImportFunctionX2' != 'TestImportFunctionX2'
Run as a file (jython ...\lib\test\test_import_pep328.py) it passes. This seems to be a problem with the (Jython-specific) test, as CPython also fails it. Clearly it's to do with ignoring the package name of the suite.
I'll take this with the other import bugs: it's been an education.
|
msg10023 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2015-05-04.21:35:36 |
|
Education complete in https://hg.python.org/jython/rev/22368d55fbce
|
|
Date |
User |
Action |
Args |
2015-05-19 22:09:15 | zyasoft | set | status: pending -> closed |
2015-05-04 21:35:36 | jeff.allen | set | status: open -> pending resolution: fixed messages:
+ msg10023 |
2015-04-29 19:47:04 | jeff.allen | create | |
|