summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-29 10:42:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-29 11:28:03 -0500
commit46dd5bd33031d6c0501238e8459d81e8b91a416d (patch)
tree5e4ab6dd610192acf90dd381a4a1c1bc4aed6763 /tests/test_config.py
parentd4c2b18bdd0102ff873514e53ec560c3083c3413 (diff)
downloadpython-coveragepy-git-46dd5bd33031d6c0501238e8459d81e8b91a416d.tar.gz
mypy: check tomlconfig.py
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index d88a1a4f..eb0733dd 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -752,6 +752,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
with pytest.raises(ConfigError, match=msg):
coverage.Coverage()
+ @pytest.mark.skipif(sys.version_info >= (3, 11), reason="Python 3.11 has toml in stdlib")
def test_no_toml_installed_pyproject_no_coverage(self):
# It's ok to have non-coverage pyproject.toml without toml installed.
self.make_file("pyproject.toml", """\