diff options
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r-- | tests/test_testing.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py index 43c682cd..d5447c45 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -12,14 +12,13 @@ import warnings import pytest import coverage -from coverage import tomlconfig from coverage.exceptions import CoverageWarning from coverage.files import actual_path from tests.coveragetest import CoverageTest from tests.helpers import ( arcs_to_arcz_repr, arcz_to_arcs, assert_count_equal, assert_coverage_warnings, - CheckUniqueFilenames, re_lines, re_lines_text, re_line, without_module, + CheckUniqueFilenames, re_lines, re_lines_text, re_line, ) @@ -356,16 +355,6 @@ def _same_python_executable(e1, e2): return False # pragma: only failure -def test_without_module(): - 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 - - class ArczTest(CoverageTest): """Tests of arcz/arcs helpers.""" |