From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 11 Jul 2022 16:14:57 +0000 (-0700) Subject: [3.10] GH-94736: mark SemLock test as linux only (GH-94750) (#94753) X-Git-Tag: v3.10.6~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bc13df6281e72c6a5bbc5b2b6b17b95b829d14b;p=thirdparty%2FPython%2Fcpython.git [3.10] GH-94736: mark SemLock test as linux only (GH-94750) (#94753) 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 08eea4744167..de1a99a2723d 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -5967,6 +5967,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):