summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-30 07:05:42 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-30 09:57:46 -0500
commit27990185352f035bafbb0cc7c8ac4159e87fe070 (patch)
treee3f0a1a19f893347c7909294db770e6aa8e514d6 /tests/test_config.py
parentc802be289c40f896e910a4f34f1ce27aedc44a0b (diff)
downloadpython-coveragepy-git-27990185352f035bafbb0cc7c8ac4159e87fe070.tar.gz
mypy: inorout.py, disposition.py, and part of control.py
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index eb0733dd..26276c47 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -638,7 +638,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
""")
cov = coverage.Coverage()
assert cov.config.run_include == ["foo"]
- assert cov.config.run_omit is None
+ assert cov.config.run_omit == []
assert cov.config.branch is False
def test_setupcfg_only_if_not_coveragerc(self):
@@ -655,7 +655,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
branch = true
""")
cov = coverage.Coverage()
- assert cov.config.run_omit is None
+ assert cov.config.run_omit == []
assert cov.config.branch is False
def test_setupcfg_only_if_prefixed(self):