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 skips some tests
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brian.curtin Nosy List: brian.curtin, jnoller, pitrou
Priority: normal Keywords: needs review, patch

Created on 2010-04-30 23:16 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue8584.diff brian.curtin, 2010-05-14 00:40 fixed against py3k
Messages (3)
msg104675 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-04-30 23:16
Some tests in test_multiprocessing (py3k) are skipped because they "require _ctypes", but I do have ctypes. Here are the skipped tests:

test_array (test.test_multiprocessing.WithProcessesTestArray) ... skipped 'requires _ctypes'
test_getobj_getlock_obj (test.test_multiprocessing.WithProcessesTestArray) ... skipped 'requires _ctypes'
test_rawarray (test.test_multiprocessing.WithProcessesTestArray) ... skipped 'requires _ctypes'

test_copy (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... skipped 'requires _ctypes'
test_sharedctypes (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... skipped 'requires _ctypes'
test_synchronize (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... skipped 'requires _ctypes'

test_getobj_getlock (test.test_multiprocessing.WithProcessesTestValue) ... skipped 'requires _ctypes'
test_rawvalue (test.test_multiprocessing.WithProcessesTestValue) ... skipped 'requires _ctypes'
test_value (test.test_multiprocessing.WithProcessesTestValue) ... skipped 'requires _ctypes'
msg105671 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-05-14 00:40
Value and copy come from multiprocessing.sharedctypes, not from ctypes. Changed the import and also the test skipping based on this.

(done during a presentation with the Chicago Python Users Group)
msg118092 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-10-07 02:30
Fixed in r85299 (py3k), r85300 (release31-maint), and r85301 (release27-maint).
History
Date User Action Args
2022-04-11 14:57:00adminsetgithub: 52830
2010-10-07 02:30:43brian.curtinsetstatus: open -> closed
versions: + Python 2.7
messages: + msg118092

assignee: jnoller -> brian.curtin
resolution: fixed
stage: patch review -> resolved
2010-05-14 00:41:48brian.curtinsetkeywords: + needs review
stage: needs patch -> patch review
2010-05-14 00:40:45brian.curtinsetfiles: + issue8584.diff

nosy: + brian.curtin
messages: + msg105671

keywords: + patch
2010-04-30 23:16:25pitroucreate