diff -r e0f98cc25bf5 -r 32dd11232e06 src/eric7/DebugClients/Python/coverage/tomlconfig.py --- a/src/eric7/DebugClients/Python/coverage/tomlconfig.py Wed Jul 20 16:03:55 2022 +0200 +++ b/src/eric7/DebugClients/Python/coverage/tomlconfig.py Wed Jul 20 16:13:29 2022 +0200 @@ -12,7 +12,7 @@ from coverage.misc import import_third_party, substitute_variables -if env.PYVERSION >= (3, 11): +if env.PYVERSION >= (3, 11, 0, "alpha", 7): import tomllib # pylint: disable=import-error else: # TOML support on Python 3.10 and below is an install-time extra option.