Skip to content

Commit 70dd353

Browse files
Zheaolivstinner
andauthored
Update Lib/test/support/__init__.py
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 9302ef3 commit 70dd353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3083,7 +3083,7 @@ def _supports_remote_attaching():
30833083
def support_remote_exec_only(test):
30843084
if not sys.is_remote_debug_enabled():
30853085
return unittest.skip("Remote debugging is not enabled")(test)
3086-
if sys.platform != "darwin" and sys.platform != "linux" and sys.platform != "win32":
3086+
if sys.platform not in ("darwin", "linux", "win32"):
30873087
return unittest.skip("Test only runs on Linux, Windows and macOS")(test)
30883088
if sys.platform == "linux" and not _supports_remote_attaching():
30893089
return unittest.skip("Test only runs on Linux with process_vm_readv support")(test)

0 commit comments

Comments
 (0)