Skip to content

Commit fb0cb92

Browse files
author
Vladimir Safonkin
authored
Merge pull request actions#155 from vsafonkin/v-vsafonkin/python-3.11.0-alpha-7
Exclude tkinter and turtle for Python 3.11.0 alpha7 on Ubuntu 18.04
2 parents 7e0253f + a1129e9 commit fb0cb92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/sources/python-modules.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import importlib
99
import sys
10+
import platform
1011

1112
# The Python standard library as of Python 3.0
1213
standard_library = [
@@ -265,6 +266,11 @@ def replace(lst, old, new):
265266
if sys.version_info >= (3, 11):
266267
standard_library.remove('binhex')
267268

269+
# Exclude tkinter and turtle for Python 3.11 alpha temporarily
270+
if sys.version_info >= (3, 11) and platform.system() == 'Linux' and '18.04' in platform.version():
271+
standard_library.remove('tkinter')
272+
standard_library.remove('turtle')
273+
268274
# Remove tkinter and Easter eggs
269275
excluded_modules = [
270276
'antigravity',

0 commit comments

Comments
 (0)