diff options
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 9f56c6d5..f6609e26 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -216,8 +216,8 @@ class FileTracerTest(CoverageTest): """) cov = coverage.Coverage() - should_trace_hook = CheckUniqueFilenames.hook(cov, '_should_trace') - check_include_hook = CheckUniqueFilenames.hook(cov, '_check_include_omit_etc') + CheckUniqueFilenames.hook(cov, '_should_trace') + CheckUniqueFilenames.hook(cov, '_check_include_omit_etc') cov.config["run:plugins"] = ["tests.plugin1"] # Import the Python file, executing it. @@ -263,8 +263,8 @@ class FileTracerTest(CoverageTest): """) cov = coverage.Coverage(omit=["*quux*"]) - should_trace_hook = CheckUniqueFilenames.hook(cov, '_should_trace') - check_include_hook = CheckUniqueFilenames.hook(cov, '_check_include_omit_etc') + CheckUniqueFilenames.hook(cov, '_should_trace') + CheckUniqueFilenames.hook(cov, '_check_include_omit_etc') cov.config["run:plugins"] = ["tests.plugin2"] self.start_import_stop(cov, "caller") |