summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-05-06 03:33:17 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-05-06 03:33:17 (GMT)
commitce643913a9049953950918b214fb7cef40506be5 (patch)
treef9a84aa003a3af7eaba270e949691b7d71e8d699 /Lib/test/test_subprocess.py
parent025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1 (diff)
downloadcpython-ce643913a9049953950918b214fb7cef40506be5.zip
cpython-ce643913a9049953950918b214fb7cef40506be5.tar.gz
cpython-ce643913a9049953950918b214fb7cef40506be5.tar.bz2
Issue #9517: Move script_helper to the support package.
Patch by Christie Wilson.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 7398bdc..9c0229a 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1,5 +1,5 @@
import unittest
-from test import script_helper
+from test.support import script_helper
from test import support
import subprocess
import sys
@@ -394,7 +394,7 @@ class ProcessTestCase(BaseTestCase):
python_dir, python_base = self._split_python_path()
abs_python = os.path.join(python_dir, python_base)
rel_python = os.path.join(os.curdir, python_base)
- with script_helper.temp_dir() as wrong_dir:
+ with support.temp_dir() as wrong_dir:
# Before calling with an absolute path, confirm that using a
# relative path fails.
self.assertRaises(FileNotFoundError, subprocess.Popen,