https://github.com/python/cpython/commit/b2e666f30aa66b3f5e7ccbcf4e5f21e2d89e39a8
commit: b2e666f30aa66b3f5e7ccbcf4e5f21e2d89e39a8
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-04-23T14:36:25Z
summary:
gh-132719: Skip multiprocessing test if missing ctypes (#132842)
Skip test_lock_locked_2processes() if multiprocessing.sharedctypes is
missing (need ctypes).
files:
M Lib/test/_test_multiprocessing.py
diff --git a/Lib/test/_test_multiprocessing.py
b/Lib/test/_test_multiprocessing.py
index 54b942e76d78c5..d4177c5e8fe5ac 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1516,6 +1516,7 @@ def _test_lock_locked_2processes(cls, lock, event, res):
res.value = lock.locked()
event.set()
+ @unittest.skipUnless(HAS_SHAREDCTYPES, 'needs sharedctypes')
def test_lock_locked_2processes(self):
if self.TYPE != 'processes':
self.skipTest('test not appropriate for {}'.format(self.TYPE))
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]