]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] GH-94736: mark SemLock test as linux only (GH-94750) (#94752)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Jul 2022 15:24:12 +0000 (08:24 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Jul 2022 15:24:12 +0000 (16:24 +0100)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/test/_test_multiprocessing.py

index 43566545afa2b95c21be6edb46337be301f076d6..4f0df0f508f738af599c9ffdc9d071caf6fa8463 100644 (file)
@@ -6029,6 +6029,7 @@ def install_tests_in_module_dict(remote_globs, start_method):
 
 
 @unittest.skipIf(not hasattr(_multiprocessing, 'SemLock'), 'SemLock not available')
+@unittest.skipIf(sys.platform != "linux", "Linux only")
 class SemLockTests(unittest.TestCase):
 
     def test_semlock_subclass(self):