summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-02-08 12:31:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-02-08 12:31:09 -0500
commitb48ad946aca8fc24561ca3e639533b24e799c020 (patch)
tree259985638314cc532038ad546c48ac70db023993 /tests/test_plugins.py
parent04c1a2491307fc1c42b6c5aa2bf24b454a8d7154 (diff)
downloadpython-coveragepy-git-b48ad946aca8fc24561ca3e639533b24e799c020.tar.gz
Pylint
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py8
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")