]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-94736: mark SemLock test as linux only (GH-94750)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Mon, 11 Jul 2022 14:35:47 +0000 (20:05 +0530)
committerGitHub <noreply@github.com>
Mon, 11 Jul 2022 14:35:47 +0000 (07:35 -0700)
See https://buildbot.python.org/all/#/builders/172/builds/2522
The PR skips the test on non-linux platforms.

Automerge-Triggered-By: GH:pablogsal
Lib/test/_test_multiprocessing.py

index 4c4b9ac532396192713d8103853cf8d9c81c1c7c..e3e7ee39ebdb86dcd2d77728ded11ff81e5fbfa4 100644 (file)
@@ -6023,6 +6023,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):