aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/tests/test_build_scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_build_scripts.py')
-rw-r--r--Lib/distutils/tests/test_build_scripts.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py
index 4da93cc1405..e3326b85176 100644
--- a/Lib/distutils/tests/test_build_scripts.py
+++ b/Lib/distutils/tests/test_build_scripts.py
@@ -5,10 +5,10 @@ import unittest
from distutils.command.build_scripts import build_scripts
from distutils.core import Distribution
-import sysconfig
+from distutils import sysconfig
from distutils.tests import support
-from test.test_support import run_unittest
+from test.support import run_unittest
class BuildScriptsTestCase(support.TempdirManager,
@@ -94,12 +94,12 @@ class BuildScriptsTestCase(support.TempdirManager,
# --with-suffix=3`, python is compiled okay but the build scripts
# failed when writing the name of the executable
old = sysconfig.get_config_vars().get('VERSION')
- sysconfig._CONFIG_VARS['VERSION'] = 4
+ sysconfig._config_vars['VERSION'] = 4
try:
cmd.run()
finally:
if old is not None:
- sysconfig._CONFIG_VARS['VERSION'] = old
+ sysconfig._config_vars['VERSION'] = old
built = os.listdir(target)
for name in expected: