[issue14080] Sporadic test_imp failure
Stefan Krah
report at bugs.python.org
Wed Feb 22 23:57:20 CET 2012
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
Here's a minimal test case for now. It only fails if called as -m test:
$ ./python Lib/test/test_dot.py # OK
$ ./python Lib/test/regrtest.py test_dot # OK
[1/1] test_dot
Warning -- sys.path was modified by test_dot
$ ./python -m test test_dot
[1/1] test_dot
Warning -- sys.path was modified by test_dot
test test_dot crashed -- Traceback (most recent call last):
File "/home/stefan/pydev/cpython/Lib/test/regrtest.py", line 1214, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/home/stefan/pydev/cpython/Lib/test/test_dot.py", line 20, in <module>
assert m.__file__ == expected___file__
AssertionError
1 test failed:
test_dot
----------
Added file: http://bugs.python.org/file24606/test_dot.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14080>
_______________________________________
More information about the Python-bugs-list
mailing list