[Python-checkins] GH-94736: mark SemLock test as linux only (GH-94750)
miss-islington
webhook-mailer at python.org
Mon Jul 11 10:35:54 EDT 2022
https://github.com/python/cpython/commit/cfafd3adf8c3bb73881081f721e77ebfc94431ea
commit: cfafd3adf8c3bb73881081f721e77ebfc94431ea
branch: main
author: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-11T07:35:47-07:00
summary:
GH-94736: mark SemLock test as linux only (GH-94750)
See https://buildbot.python.org/all/#/builders/172/builds/2522
The PR skips the test on non-linux platforms.
Automerge-Triggered-By: GH:pablogsal
files:
M Lib/test/_test_multiprocessing.py
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 4c4b9ac532396..e3e7ee39ebdb8 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -6023,6 +6023,7 @@ def tearDownModule():
@unittest.skipIf(not hasattr(_multiprocessing, 'SemLock'), 'SemLock not available')
+ at unittest.skipIf(sys.platform != "linux", "Linux only")
class SemLockTests(unittest.TestCase):
def test_semlock_subclass(self):
More information about the Python-checkins
mailing list