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/helpers.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/helpers.py')
-rw-r--r-- | tests/helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py index 3b0e1283..28adf78c 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -242,7 +242,7 @@ def without_module(using_module, missing_module_name): Use this in a test function to make an optional module unavailable during the test:: - with without_module(product.something, 'toml'): + with without_module(product.something, 'tomli'): use_toml_somehow() Arguments: |