Test failure with Python 3.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testing |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1 test fails with Python 3.3 due to improved exception messages.
(Test results from zope.testing trunk.)
$ PYTHONPATH=
running test
running build_py
running egg_info
writing top-level names to src/zope.
writing namespace_packages to src/zope.
writing requirements to src/zope.
writing dependency_links to src/zope.
writing src/zope.
unrecognized .svn/entries format in
reading manifest file 'src/zope.
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.test' under directory 'src'
warning: no files found matching 'sampletests' under directory 'src'
writing manifest file 'src/zope.
running egg_info
writing top-level names to /tmp/zope.
writing namespace_packages to /tmp/zope.
writing requirements to /tmp/zope.
writing dependency_links to /tmp/zope.
writing /tmp/zope.
unrecognized .svn/entries format in
reading manifest file '/tmp/zope.
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.test' under directory 'src'
warning: no files found matching 'sampletests' under directory 'src'
writing manifest file '/tmp/zope.
running build_ext
/tmp/zope.
Doctest: module.txt ... FAIL
/tmp/zope.
Doctest: loggingsupport.txt ... ok
/tmp/zope.
Doctest: renormalizing.txt ... ok
/tmp/zope.
Doctest: setupstack.txt ... /tmp/zope.
Stack-based test setUp and tearDown
ok
/tmp/zope.
Doctest: wait.txt ... ok
=======
FAIL: /tmp/zope.
Doctest: module.txt
-------
Traceback (most recent call last):
File "/tmp/zope.
raise self.failureExc
AssertionError: Failed doctest test for module.txt
File "/tmp/zope.
-------
File "/tmp/zope.
Failed example:
import fake
Expected:
Traceback (most recent call last):
...
ImportError: No module named fake
Got:
Traceback (most recent call last):
File "/usr/lib64/
File "<doctest module.txt[17]>", line 1, in <module>
import fake
ImportError: No module named 'fake'
-------
File "/tmp/zope.
Failed example:
import zope.testing.
Expected:
Traceback (most recent call last):
...
ImportError: No module named unlikelymodulename
Got:
Traceback (most recent call last):
File "/usr/lib64/
File "<doctest module.txt[25]>", line 1, in <module>
import zope.testing.
ImportError: No module named 'zope.testing.
-------
Ran 5 tests in 0.198s
FAILED (failures=1)
fixed in r127901 to be released in 4.1.2 or above