Remove tests for deprecated libraries (#229)

This commit is contained in:
Dmitry Shibanov
2023-05-24 18:52:49 +02:00
committed by GitHub
parent 80893f523f
commit c7573bf15e
3 changed files with 4 additions and 5 deletions

View File

@ -266,7 +266,10 @@ if sys.version_info >= (3, 11):
standard_library.remove('binhex')
# 'smtpd', 'asyncore' and 'asynchat' modules have been removed from Python 3.12
# https://docs.python.org/dev/whatsnew/3.12.html
if sys.version_info >= (3, 12):
standard_library.remove('distutils')
standard_library.remove('imp')
standard_library.remove('smtpd')
standard_library.remove('asyncore')
standard_library.remove('asynchat')