diff options
Diffstat (limited to 'coverage/tomlconfig.py')
-rw-r--r-- | coverage/tomlconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/tomlconfig.py b/coverage/tomlconfig.py index b04d66e2..148c34f8 100644 --- a/coverage/tomlconfig.py +++ b/coverage/tomlconfig.py @@ -12,7 +12,7 @@ from coverage.exceptions import ConfigError 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. |