diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-08 12:31:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-08 12:31:09 -0500 |
commit | 103d17e89b6fdce1827d410fed8249cbeadead86 (patch) | |
tree | 9b4cb155932f03d3e6ad29702e485f8358361bf9 /tests/test_plugins.py | |
parent | f7b61f17203857bc70f3c8bdc2b0890aeb9c43b7 (diff) | |
download | python-coveragepy-103d17e89b6fdce1827d410fed8249cbeadead86.tar.gz |
Pylint
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 9f56c6d..f6609e2 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") |