diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-21 11:50:17 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-21 11:50:17 (GMT) |
commit | 3f5d146323fe306de7ddccb2506a7161554cc330 (patch) | |
tree | 6fc42ed8a610fcdea9a8155ba24b62286ad8c9ad /Lib/distutils/tests | |
parent | af61719ec354015566028250a2912efa30f4cda4 (diff) | |
download | cpython-3f5d146323fe306de7ddccb2506a7161554cc330.zip cpython-3f5d146323fe306de7ddccb2506a7161554cc330.tar.gz cpython-3f5d146323fe306de7ddccb2506a7161554cc330.tar.bz2 |
No more deprecation warnings for distutils.sysconfig, following r78666.
But when the "dl" module is available, it gives a py3k deprecation warning.
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r-- | Lib/distutils/tests/test_build_ext.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 4860c9b..f97ae1a 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -358,6 +358,9 @@ class BuildExtTestCase(support.TempdirManager, import distutils.core, distutils.extension, distutils.command.build_ext saved_ext = distutils.extension.Extension try: + # 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 |