summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/distutils2/tests/test_install.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/distutils2/tests/test_install.py b/src/distutils2/tests/test_install.py
index adc67c8..9f82f3b 100644
--- a/src/distutils2/tests/test_install.py
+++ b/src/distutils2/tests/test_install.py
@@ -13,10 +13,12 @@ try:
except ImportError:
from distutils2._backport import sysconfig
from distutils2._backport.sysconfig import (get_scheme_names,
- _CONFIG_VARS,
+ get_config_vars,
_INSTALL_SCHEMES,
get_config_var, get_path)
+ _CONFIG_VARS=get_config_vars()
+
from distutils2.tests import captured_stdout
from distutils2.command.install import install
@@ -86,7 +88,7 @@ class InstallTestCase(support.TempdirManager,
if sys.version < '2.6':
return
- # preparing the environement for the test
+ # preparing the environment for the test
self.old_user_base = get_config_var('userbase')
self.old_user_site = get_path('purelib', '%s_user' % os.name)
self.tmpdir = self.mkdtemp()