diff options
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 |