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

index 08eea47441675474f45c6e2abd4f0c2644d1baeb..de1a99a2723d2fc222a2ec3ea1c503cb9c387fe0 100644 (file)
@@ -5967,6 +5967,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):