Update the list of modules in tests for Python 3.10
This commit is contained in:
parent
c4836579b7
commit
3a4a0fd269
|
@ -256,9 +256,10 @@ if sys.version_info > (3, 7):
|
|||
if sys.version_info > (3, 8):
|
||||
standard_library.remove('dummy_threading')
|
||||
|
||||
# 'symbol' module has been removed from Python 3.10
|
||||
# 'symbol' and 'formatter' modules have been removed from Python 3.10
|
||||
if sys.version_info >= (3, 10):
|
||||
standard_library.remove('symbol')
|
||||
standard_library.remove('formatter')
|
||||
|
||||
# Remove tkinter and Easter eggs
|
||||
excluded_modules = [
|
||||
|
@ -270,7 +271,6 @@ excluded_modules = [
|
|||
def check_missing_modules(expected_modules):
|
||||
missing = []
|
||||
for module in expected_modules:
|
||||
print('Try to import module ', module)
|
||||
try:
|
||||
importlib.import_module(module)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue