Skip to content

Commit a25df3f

Browse files
committed
test_remove_sys_path0_run_python() requires subprocess support
1 parent 59a8da4 commit a25df3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Lib/test/test_runpy.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ def run_python(self, *args, PYTHONPATH=None):
962962
proc = subprocess.run(cmd, text=True, stderr=subprocess.PIPE, env=env)
963963
self.assertEqual(proc.returncode, 0, proc.stderr)
964964

965+
@support.requires_subprocess()
965966
def test_remove_sys_path0_run_python(self):
966967
CODE = textwrap.dedent("""
967968
import runpy, sys

0 commit comments

Comments
 (0)