diff --git a/tests/sources/python-modules.py b/tests/sources/python-modules.py index 1c31adfd..17871be6 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -241,6 +241,12 @@ 'annotationlib', ]) +# https://docs.python.org/3.15/whatsnew/3.15.html +if sys.version_info >= (3, 15): + standard_library.remove('sre_compile') + standard_library.remove('sre_constants') + standard_library.remove('sre_parse') + # Remove tkinter and Easter eggs excluded_modules = [ 'antigravity',