Skip to content

Commit 5bf9f91

Browse files
committed
follow the convention
1 parent 5c978cc commit 5bf9f91

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎Lib/test/test_external_inspection.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,13 @@ def test_unsupported_platform_error(self):
29802980

29812981
@requires_remote_subprocess_debugging()
29822982
class TestDetectionOfThreadStatus(RemoteInspectionTestBase):
2983-
@unittest.skipUnless(sys.platform == "win32", "Windows thread state sampling")
2983+
@unittest.skipIf(
2984+
sys.platform not in ("linux", "darwin", "win32"),
2985+
"Test only runs on supported platforms (Linux, macOS, or Windows)",
2986+
)
2987+
@unittest.skipIf(
2988+
sys.platform == "android", "Android raises Linux-specific exception"
2989+
)
29842990
def test_cpu_mode_refreshes_thread_status(self):
29852991
script = """\
29862992
sock.recv(1)

0 commit comments

Comments
 (0)