[issue15781] test_threaded_import fails with -j4

Stefan Krah report at bugs.python.org
Sat Aug 25 11:07:59 CEST 2012


Stefan Krah added the comment:

The buildbot in question uses -j4, and I can reproduce this on Linux
with:

./python -m test -uall -F -j4 -v test_threaded_import


======================================================================
FAIL: test_parallel_meta_path (test.test_threaded_import.ThreadedImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stefan/hg/cpython/Lib/test/test_threaded_import.py", line 131, in test_parallel_meta_path
    self.check_parallel_module_init()
  File "/home/stefan/hg/cpython/Lib/test/test_threaded_import.py", line 120, in check_parallel_module_init
    self.assertFalse(errors)
AssertionError: [AttributeError("'module' object has no attribute 'randrange'",), AttributeError("'module' object has no attribute 'randrange'",)] is not false

----------------------------------------------------------------------
Ran 6 tests in 4.221s

----------
title: test_threaded_import fails on Windows -> test_threaded_import fails with -j4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15781>
_______________________________________


More information about the Python-bugs-list mailing list