summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-11 05:39:41 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-11 05:39:41 -0500
commit1ac1846fdf837fac1c958dfde0ebce3e9531bf87 (patch)
tree1c8353458c7ae3b375ee20d2968eb597877f5e45 /tests/test_config.py
parent2f0d4845ef39c17389aacc014693727265057817 (diff)
downloadpython-coveragepy-git-1ac1846fdf837fac1c958dfde0ebce3e9531bf87.tar.gz
feat: complete removal of `[run] note`
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 4afdd1e3..444719fd 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -706,17 +706,6 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
assert not cov.config.branch
assert cov.config.data_file == ".coverage"
- def test_note_is_obsolete(self):
- self.make_file("main.py", "a = 1")
- self.make_file(".coveragerc", """\
- [run]
- note = I am here I am here I am here!
- """)
- cov = coverage.Coverage()
- with self.assert_warnings(cov, [r"The '\[run] note' setting is no longer supported."]):
- self.start_import_stop(cov, "main")
- cov.report()
-
def test_no_toml_installed_no_toml(self):
# Can't read a toml file that doesn't exist.
with without_module(coverage.tomlconfig, 'tomllib'):