summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-11-03 18:27:27 (GMT)
committerGitHub <noreply@github.com>2022-11-03 18:27:27 (GMT)
commit0faa0ba240e815614e5a2900e48007acac41b214 (patch)
tree20b8346df4331716aba051d6e05e039318176ba3 /Lib/test/test_sundry.py
parentb07f546ea3a574bc3016fb023c157c65a47f4849 (diff)
downloadcpython-0faa0ba240e815614e5a2900e48007acac41b214.zip
cpython-0faa0ba240e815614e5a2900e48007acac41b214.tar.gz
cpython-0faa0ba240e815614e5a2900e48007acac41b214.tar.bz2
gh-92584: Remove the distutils package (#99061)
Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r--Lib/test/test_sundry.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index de2e730..f4a8d43 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -18,29 +18,6 @@ class TestUntestedModules(unittest.TestCase):
self.fail('{} has tests even though test_sundry claims '
'otherwise'.format(name))
- import distutils.bcppcompiler
- import distutils.ccompiler
- import distutils.cygwinccompiler
- import distutils.filelist
- import distutils.text_file
- import distutils.unixccompiler
-
- import distutils.command.bdist_dumb
- import distutils.command.bdist
- import distutils.command.bdist_rpm
- import distutils.command.build_clib
- import distutils.command.build_ext
- import distutils.command.build
- import distutils.command.clean
- import distutils.command.config
- import distutils.command.install_data
- import distutils.command.install_egg_info
- import distutils.command.install_headers
- import distutils.command.install_lib
- import distutils.command.register
- import distutils.command.sdist
- import distutils.command.upload
-
import html.entities
try: