florent.xicluna  committed 0693839

[svn r79191] No more deprecation warnings for distutils.sysconfig, following r78666.
But when the "dl" module is available, it gives a py3k deprecation warning.

  • Participants
  • Parent commits 8758574

Comments (0)

Files changed (1)

File Lib/distutils/tests/

         import distutils.core, distutils.extension, distutils.command.build_ext
         saved_ext = distutils.extension.Extension
+            # on some platforms, it loads the deprecated "dl" module
+            test_support.import_module('setuptools_build_ext', deprecated=True)
             # theses import patch Distutils' Extension class
             from setuptools_build_ext import build_ext as setuptools_build_ext
             from setuptools_extension import Extension