[Python-checkins] r88707 - python/branches/py3k/Lib/test/test_osx_env.py
eric.araujo
python-checkins at python.org
Wed Mar 2 01:31:51 CET 2011
Author: eric.araujo
Date: Wed Mar 2 01:31:51 2011
New Revision: 88707
Log:
Remove last use of distutils.sysconfig from the stdlib (#11364).
Apart from distutils itself, the stdlib has now officially switched to
the new top-level sysconfig module. Patch greenlighted by Ned Deily.
Modified:
python/branches/py3k/Lib/test/test_osx_env.py
Modified: python/branches/py3k/Lib/test/test_osx_env.py
==============================================================================
--- python/branches/py3k/Lib/test/test_osx_env.py (original)
+++ python/branches/py3k/Lib/test/test_osx_env.py Wed Mar 2 01:31:51 2011
@@ -5,6 +5,7 @@
from test.support import EnvironmentVarGuard, run_unittest
import subprocess
import sys
+import sysconfig
import unittest
class OSXEnvironmentVariableTestCase(unittest.TestCase):
@@ -27,8 +28,6 @@
self._check_sys('PYTHONEXECUTABLE', '==', 'sys.executable')
def test_main():
- from distutils import sysconfig
-
if sys.platform == 'darwin' and sysconfig.get_config_var('WITH_NEXT_FRAMEWORK'):
run_unittest(OSXEnvironmentVariableTestCase)
More information about the Python-checkins
mailing list