Stefan Krah <[email protected]> added the comment:
OK, on FreeBSD the failure occurs reliably when test_sqlite and
test_imp are chained, perhaps because of the import failure
of sqlite3:
[stefan@freebsd-amd64 ~/hg/cpython]$ ./python -m test -uall test_sqlite test_imp
[1/2] test_sqlite
test_sqlite skipped -- No module named '_sqlite3'
[2/2] test_imp
test test_imp failed -- Traceback (most recent call last):
File "/usr/home/stefan/hg/cpython/Lib/test/test_imp.py", line 330, in
test_package___file__
self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__))
AssertionError: 'pep3147/__init__.py' != './pep3147/__init__.py'
- pep3147/__init__.py
+ ./pep3147/__init__.py
? ++
: ('pep3147/__init__.py', ['pep3147'])
1 test failed:
test_imp
1 test skipped:
test_sqlite
Those skips are all expected on freebsd9.
[109902 refs]
On Linux I cannot reproduce it under the same conditions:
$ ./python -m test -uall test_sqlite test_imp
[1/2] test_sqlite
test_sqlite skipped -- No module named _sqlite3
[2/2] test_imp
1 test OK.
1 test skipped:
test_sqlite
Those skips are all expected on linux2.
[94195 refs]
----------
_______________________________________
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