Skip to content

Commit 875651c

Browse files
Merge pull request #203 from MaksimZhukov/python-3.12.0-alpha2
Remove asyncore and asynchat modules from tests
2 parents 60672e1 + f6ede0f commit 875651c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/sources/python-modules.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,11 @@ def replace(lst, old, new):
271271
standard_library.remove('tkinter')
272272
standard_library.remove('turtle')
273273

274-
# 'smtpd' module has been removed from Python 3.12
274+
# 'smtpd', 'asyncore' and 'asynchat' modules have been removed from Python 3.12
275275
if sys.version_info >= (3, 12):
276276
standard_library.remove('smtpd')
277+
standard_library.remove('asyncore')
278+
standard_library.remove('asynchat')
277279

278280
# Remove tkinter and Easter eggs
279281
excluded_modules = [

0 commit comments

Comments
 (0)