From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 11 Jul 2022 15:24:12 +0000 (-0700) Subject: [3.11] GH-94736: mark SemLock test as linux only (GH-94750) (#94752) X-Git-Tag: v3.11.0b4~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a276833a7d2dadce2d9ffcbc3f958e32749b0234;p=thirdparty%2FPython%2Fcpython.git [3.11] GH-94736: mark SemLock test as linux only (GH-94750) (#94752) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> --- diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index 43566545afa2..4f0df0f508f7 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -6029,6 +6029,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):