Skip to content

Commit

Permalink
GH-94736: mark SemLock test as linux only (GH-94750)
Browse files Browse the repository at this point in the history
See https://buildbot.python.org/all/#/builders/172/builds/2522
The PR skips the test on non-linux platforms.

Automerge-Triggered-By: GH:pablogsal
  • Loading branch information
kumaraditya303 authored Jul 11, 2022
1 parent 86c1df1 commit cfafd3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6023,6 +6023,7 @@ def tearDownModule():


@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):
Expand Down

0 comments on commit cfafd3a

Please sign in to comment.