https://github.com/python/cpython/commit/e2c69d36d16227a751c2d9c0f8a919cecf6b3048
commit: e2c69d36d16227a751c2d9c0f8a919cecf6b3048
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-04-23T20:33:15+02:00
summary:
gh-132719: Skip multiprocessing test if missing ctypes (#132846)
Skip test_rlock_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 d4177c5e8fe5ac..4dc9a31d22f771 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1601,6 +1601,7 @@ def test_rlock(self):
self.assertFalse(lock.locked())
self.assertRaises((AssertionError, RuntimeError), lock.release)
+ @unittest.skipUnless(HAS_SHAREDCTYPES, 'needs sharedctypes')
def test_rlock_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]