Message9988
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. |
|
Date |
User |
Action |
Args |
2015-04-29 19:47:04 | jeff.allen | set | recipients:
+ jeff.allen |
2015-04-29 19:47:04 | jeff.allen | set | messageid: <1430336824.38.0.712457016107.issue2347@psf.upfronthosting.co.za> |
2015-04-29 19:47:04 | jeff.allen | link | issue2347 messages |
2015-04-29 19:47:03 | jeff.allen | create | |
|