Issue 8584: test_multiprocessing skips some tests (original) (raw)

Issue8584

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:00 admin set github: 52830
2010-10-07 02:30:43 brian.curtin set status: open -> closedversions: + Python 2.7messages: + assignee: jnoller -> brian.curtinresolution: fixedstage: patch review -> resolved
2010-05-14 00:41:48 brian.curtin set keywords: + needs reviewstage: needs patch -> patch review
2010-05-14 00:40:45 brian.curtin set files: + issue8584.diffnosy: + brian.curtinmessages: + keywords: + patch
2010-04-30 23:16:25 pitrou create