Skip to content

Commit a6b76b2

Browse files
authored
Merge pull request actions#69 from actions/v-mazhuk/fix-python-3.10
Update the list of modules in tests for Python 3.10
2 parents c483657 + 3a4a0fd commit a6b76b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sources/python-modules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,10 @@ def replace(lst, old, new):
256256
if sys.version_info > (3, 8):
257257
standard_library.remove('dummy_threading')
258258

259-
# 'symbol' module has been removed from Python 3.10
259+
# 'symbol' and 'formatter' modules have been removed from Python 3.10
260260
if sys.version_info >= (3, 10):
261261
standard_library.remove('symbol')
262+
standard_library.remove('formatter')
262263

263264
# Remove tkinter and Easter eggs
264265
excluded_modules = [
@@ -270,7 +271,6 @@ def replace(lst, old, new):
270271
def check_missing_modules(expected_modules):
271272
missing = []
272273
for module in expected_modules:
273-
print('Try to import module ', module)
274274
try:
275275
importlib.import_module(module)
276276
except:

0 commit comments

Comments
 (0)