From 25c7c9c0133bc21da53aa41baae0442360d727d1 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 20 Jan 2018 21:24:10 -0500 Subject: Don't confuse run-include with report-include (and also omit). Fixes #621 and #622. --- tests/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_config.py') diff --git a/tests/test_config.py b/tests/test_config.py index a9c74aa0..0b4d40b6 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -357,7 +357,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest): self.assertEqual(cov.get_exclude_list(), ["if 0:", r"pragma:?\s+no cover", "another_tab"]) self.assertTrue(cov.config.ignore_errors) - self.assertEqual(cov.config.run_omit, cov.config.report_omit) + self.assertEqual(cov.config.run_omit, ["twenty"]) self.assertEqual(cov.config.report_omit, ["one", "another", "some_more", "yet_more"]) self.assertEqual(cov.config.report_include, ["thirty"]) self.assertEqual(cov.config.precision, 3) -- cgit v1.2.1