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
This commit is contained in:
Kumar Aditya 2022-07-11 20:05:47 +05:30 committed by GitHub
parent 86c1df1872
commit cfafd3adf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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):