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