summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2021-07-13 11:23:09 +0100
committerGitHub <noreply@github.com>2021-07-13 03:23:09 -0700
commit80bfea74c10dec30a0fa64e1379b80c897b060a9 (patch)
treec2ee11fb7e506c147c20f48619f3c4cb197ef11f /tests/helpers.py
parent8cb321599e1c738c1e2af8f009a40e35423bcd9f (diff)
downloadpython-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.py2
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: