diff options
| author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2022-05-15 15:45:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-15 15:45:55 -0700 |
| commit | 0d67ae1b7938ada3fe5df680b643d69290f0c099 (patch) | |
| tree | 8fa5d3325837a27cf950dec47883c4cd6c3a6215 /tests/test_testing.py | |
| parent | e8973c5f50e9510c6ec7addf8fad70eceff6ab89 (diff) | |
| download | python-coveragepy-git-0d67ae1b7938ada3fe5df680b643d69290f0c099.tar.gz | |
Use tomllib on Python 3.11 (#1359)
Co-authored-by: hauntsaninja <>
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 e1d3a345..43c682cd 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -357,10 +357,10 @@ def _same_python_executable(e1, e2): def test_without_module(): - toml1 = tomlconfig.tomli - with without_module(tomlconfig, 'tomli'): - toml2 = tomlconfig.tomli - toml3 = tomlconfig.tomli + toml1 = tomlconfig.tomllib + with without_module(tomlconfig, 'tomllib'): + toml2 = tomlconfig.tomllib + toml3 = tomlconfig.tomllib assert toml1 is toml3 is not None assert toml2 is None |
