diff --git a/tests/sources/python-modules.py b/tests/sources/python-modules.py index 3df2538..bf2d89f 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -271,6 +271,10 @@ if sys.version_info >= (3, 11) and platform.system() == 'Linux' and '18.04' in p standard_library.remove('tkinter') standard_library.remove('turtle') +# 'smtpd' module has been removed from Python 3.12 +if sys.version_info >= (3, 12): + standard_library.remove('smtpd') + # Remove tkinter and Easter eggs excluded_modules = [ 'antigravity',