summaryrefslogtreecommitdiff
path: root/Lib/test/test_script_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_script_helper.py')
-rw-r--r--Lib/test/test_script_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_script_helper.py b/Lib/test/test_script_helper.py
index 4ade2cbc0d..f7871fd3b7 100644
--- a/Lib/test/test_script_helper.py
+++ b/Lib/test/test_script_helper.py
@@ -3,7 +3,7 @@
import subprocess
import sys
import os
-from test.support import script_helper
+from test.support import script_helper, requires_subprocess
import unittest
from unittest import mock
@@ -69,6 +69,7 @@ class TestScriptHelper(unittest.TestCase):
self.assertNotIn('-E', popen_command)
+@requires_subprocess()
class TestScriptHelperEnvironment(unittest.TestCase):
"""Code coverage for interpreter_requires_environment()."""