summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-04-30 08:36:58 (GMT)
committerGitHub <noreply@github.com>2017-04-30 08:36:58 (GMT)
commita694e092f6356970ca0d3e86000a3a829fb212b4 (patch)
tree175fae3fe8cbaa538ab20ed17efb342b54cfce86 /Lib/test/test_compiler.py
parent4734c2d5c0529632e4b51eb75104b50955afd692 (diff)
downloadcpython-a694e092f6356970ca0d3e86000a3a829fb212b4.zip
cpython-a694e092f6356970ca0d3e86000a3a829fb212b4.tar.gz
cpython-a694e092f6356970ca0d3e86000a3a829fb212b4.tar.bz2
bpo-30207: Rename test.test_support to test.support. (#1353)
To simplify backports from Python 3, the test.test_support module was converted into a package and renamed to test.support. The test.script_helper module was moved into the test.support package. Names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper.
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r--Lib/test/test_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index 4598811..c98e494 100644
--- a/Lib/test/test_compiler.py
+++ b/Lib/test/test_compiler.py
@@ -26,7 +26,7 @@ class CompilerTest(unittest.TestCase):
# warning: if 'os' or 'test_support' are moved in some other dir,
# they should be changed here.
libdir = os.path.dirname(os.__file__)
- testdir = os.path.dirname(test.test_support.__file__)
+ testdir = test.test_support.TEST_HOME_DIR
for dir in [testdir]:
for basename in "test_os.py",: