Stefan Krah <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue14080>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com