[Zope3-dev] New test failure, zope.app.module.README.txt
Tim Peters
tim.peters at gmail.com
Fri Apr 8 19:51:20 EDT 2005
This is enough to trigger the failure:
test.py -vvu "(zodbcode|zope.app.module)"
It's necessary to run zodbcode tests too. I don't know what those are
(no, they're not part of ZODB <wink>), but I suspect changes in those
today overwrote __builtin__.__import__ without restoring it:
FAIL: C:\Code\Zope3\src\zope\app\module\README.txt
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\Zope3\src\zope\testing\doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for README.txt
File "C:\Code\Zope3\src\zope\app\module\README.txt", line 0
----------------------------------------------------------------------
File "C:\Code\Zope3\src\zope\app\module\README.txt", line 150, in README.txt
Failed example:
__builtins__['__import__'] # doctest: +ELLIPSIS
Expected:
<built-in function __import__>
Got:
<bound method TestPersistentModuleImporter.__import__ of
zodbcode.tests.test_module.TestPersistentModuleImporter object at
0x016CA6F0>>
More information about the Zope3-dev
mailing list