diff options
author | Thomas Grainger <tagrain@gmail.com> | 2021-07-13 11:23:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 03:23:09 -0700 |
commit | 80bfea74c10dec30a0fa64e1379b80c897b060a9 (patch) | |
tree | c2ee11fb7e506c147c20f48619f3c4cb197ef11f /tests/test_testing.py | |
parent | 8cb321599e1c738c1e2af8f009a40e35423bcd9f (diff) | |
download | python-coveragepy-git-80bfea74c10dec30a0fa64e1379b80c897b060a9.tar.gz |
Support TOML v1.0.0 syntax in `pyproject.toml` (#1186)
* Support TOML v1.0.0 syntax in `pyproject.toml`
fixes #1180
Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
* fix toml meta test
* use pytest.mark.parametrize to narrow test failure
* Update tests/test_config.py
Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r-- | tests/test_testing.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py index 7219ff0b..4699799e 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -347,10 +347,10 @@ def _same_python_executable(e1, e2): def test_without_module(): - toml1 = tomlconfig.toml - with without_module(tomlconfig, 'toml'): - toml2 = tomlconfig.toml - toml3 = tomlconfig.toml + toml1 = tomlconfig.tomli + with without_module(tomlconfig, 'tomli'): + toml2 = tomlconfig.tomli + toml3 = tomlconfig.tomli assert toml1 is toml3 is not None assert toml2 is None |