File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3080,14 +3080,17 @@ def _supports_remote_attaching():
30803080
30813081 return PROCESS_VM_READV_SUPPORTED
30823082
3083- def support_remote_exec_only (test ):
3083+ def _support_remote_exec_only_impl (test ):
30843084 if not sys .is_remote_debug_enabled ():
3085- return unittest .skip ("Remote debugging is not enabled" )( test )
3085+ return unittest .skip ("Remote debugging is not enabled" )
30863086 if sys .platform not in ("darwin" , "linux" , "win32" ):
3087- return unittest .skip ("Test only runs on Linux, Windows and macOS" )( test )
3087+ return unittest .skip ("Test only runs on Linux, Windows and macOS" )
30883088 if sys .platform == "linux" and not _supports_remote_attaching ():
3089- return unittest .skip ("Test only runs on Linux with process_vm_readv support" )(test )
3090- return _id (test )
3089+ return unittest .skip ("Test only runs on Linux with process_vm_readv support" )
3090+ return _id
3091+
3092+ def support_remote_exec_only (test ):
3093+ return _support_remote_exec_only_impl (test )
30913094
30923095class EqualToForwardRef :
30933096 """Helper to ease use of annotationlib.ForwardRef in tests.
You can’t perform that action at this time.
0 commit comments