Commits

Éric Araujo committed a8eaafd

Forgot one instance of wrong import in 088dbb97fd18, oops!

Comments (0)

Files changed (1)

distutils2/tests/test_command_build_ext.py

         old = sys.platform
 
         sys.platform = 'sunos' # fooling finalize_options
-        try:
-            from sysconfig import _CONFIG_VARS
-        except ImportError:
-            from distutils2._backport.sysconfig import _CONFIG_VARS
+        from distutils2._backport.sysconfig import _CONFIG_VARS
 
         old_var = _CONFIG_VARS.get('Py_ENABLE_SHARED')
         _CONFIG_VARS['Py_ENABLE_SHARED'] = 1