Message198698
When I run the regress tests on OpenBSD 5.4-current, the test test_inspect.py failed because the module _multiprocessing is not available, instead of skipping the test:
FAILED (errors=1)
Traceback (most recent call last):
File "./Lib/test/test_inspect.py", line 2453, in <module>
test_main()
File "./Lib/test/test_inspect.py", line 2449, in test_main
TestBoundArguments, TestGetClosureVars, TestUnwrap, TestMain
File "/tmp/Python-3.4.0a3/Lib/test/support/__init__.py", line 1696, in run_unittest
_run_suite(suite)
File "/tmp/Python-3.4.0a3/Lib/test/support/__init__.py", line 1671, in _run_suite
raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
File "./Lib/test/test_inspect.py", line 2411, in test_qualname_source
module = importlib.import_module('concurrent.futures')
File "/tmp/Python-3.4.0a3/Lib/importlib/__init__.py", line 95, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1613, in _gcd_import
File "<frozen importlib._bootstrap>", line 1594, in _find_and_load
File "<frozen importlib._bootstrap>", line 1561, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 607, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1056, in load_module
File "<frozen importlib._bootstrap>", line 926, in load_module
File "<frozen importlib._bootstrap>", line 274, in _call_with_frames_removed
File "/tmp/Python-3.4.0a3/Lib/concurrent/futures/__init__.py", line 17, in <module>
from concurrent.futures.process import ProcessPoolExecutor
File "/tmp/Python-3.4.0a3/Lib/concurrent/futures/process.py", line 53, in <module>
from multiprocessing.queues import SimpleQueue, Full
File "/tmp/Python-3.4.0a3/Lib/multiprocessing/queues.py", line 22, in <module>
import _multiprocessing
ImportError: No module named '_multiprocessing'
Diff to skip test_qualname_source if _multiprocessing is not available is attached. Is it ok?
Remi. |
|
Date |
User |
Action |
Args |
2013-09-30 14:15:42 | rpointel | set | recipients:
+ rpointel |
2013-09-30 14:15:42 | rpointel | set | messageid: <1380550542.93.0.175157800121.issue19134@psf.upfronthosting.co.za> |
2013-09-30 14:15:42 | rpointel | link | issue19134 messages |
2013-09-30 14:15:42 | rpointel | create | |
|