aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_msvc9compiler.py')
-rw-r--r--setuptools/tests/test_msvc9compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py
index 33dca836..3a2ef970 100644
--- a/setuptools/tests/test_msvc9compiler.py
+++ b/setuptools/tests/test_msvc9compiler.py
@@ -20,7 +20,7 @@ import distutils.msvc9compiler
from distutils.errors import DistutilsPlatformError
# importing only setuptools should apply the patch
-import setuptools
+__import__('setuptools')
class MockReg:
"""Mock for distutils.msvc9compiler.Reg. We patch it