Commit b651bb1f authored by Éric Araujo's avatar Éric Araujo

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.
parent 506482cc
......@@ -5,6 +5,7 @@ Test suite for OS X interpreter environment variables.
from test.support import EnvironmentVarGuard, run_unittest
import subprocess
import sys
import sysconfig
import unittest
class OSXEnvironmentVariableTestCase(unittest.TestCase):
......@@ -27,8 +28,6 @@ class OSXEnvironmentVariableTestCase(unittest.TestCase):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment