Skip to content

Commit 929dab9

Browse files
committed
test(modules-test): Remove check for smtpd in python >= 3.12
1 parent 149b806 commit 929dab9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/sources/python-modules.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ 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
275+
if sys.version_info >= (3, 12):
276+
standard_library.remove('smtpd')
277+
274278
# Remove tkinter and Easter eggs
275279
excluded_modules = [
276280
'antigravity',

0 commit comments

Comments
 (0)