This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_multiprocessing failure
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: flox Nosy List: flox, pitrou
Priority: normal Keywords: patch

Created on 2010-03-22 22:18 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue8205_sys_path.diff flox, 2010-03-22 22:23 Patch, apply to 2.x
Messages (4)
msg101539 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-22 22:18
r79165 seems to be the culprit

Traceback (most recent call last):
  File "/home/antoine/cpython/trunk/Lib/test/regrtest.py", line 864, in runtest_inner
    indirect_test()
  File "/home/antoine/cpython/trunk/Lib/test/test_multiprocessing.py", line 2028, in test_main
    run(suite)
  File "/home/antoine/cpython/trunk/Lib/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/antoine/cpython/trunk/Lib/test/test_support.py", line 565, in _filterwarnings
    raise AssertionError("unhandled warning %r" % reraise[0])
AssertionError: unhandled warning ImportWarning("Not importing directory '/home/antoine/cpython/trunk/Modules/zlib': missing __init__.py",)
msg101541 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-03-22 22:23
It happens only when sysconfig.is_python_build() is True (i.e. build directory).

Proposed patch fixes it.
msg101548 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-22 22:59
> It happens only when sysconfig.is_python_build() is True (i.e. build directory).
> 
> Proposed patch fixes it.

Can't say whether the patch is ok, but I confirm it does fix the issue
here.
msg101574 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-03-23 11:51
Fixed with r79310.
History
Date User Action Args
2022-04-11 14:56:58adminsetgithub: 52452
2010-03-23 11:51:39floxsetstatus: open -> closed
resolution: fixed
messages: + msg101574

stage: needs patch -> resolved
2010-03-22 22:59:30pitrousetmessages: + msg101548
2010-03-22 22:23:35floxsetfiles: + issue8205_sys_path.diff
keywords: + patch
messages: + msg101541
2010-03-22 22:18:10pitrousetstage: patch review -> needs patch
2010-03-22 22:18:03pitroucreate