summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-04-20 23:17:30 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-04-20 23:17:30 -0400
commit0bdb413621460807583ab0baedf1d615a7a62da6 (patch)
tree09df82befe921987556c0f22998b9833cbc8ce25 /tests
parentc35c5803f2ea69f67818771179882d17d3e4bf2f (diff)
downloadpython-coveragepy-git-0bdb413621460807583ab0baedf1d615a7a62da6.tar.gz
Don't name new method the same as old attribute
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmdline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 2a7fba57..a3a5b2b5 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -691,7 +691,7 @@ class CmdLineWithFilesTest(BaseCmdLineTest):
2 files:
file1.py: 17 lines [a_plugin]
file2.py: 23 lines
- """).replace("FILENAME", data.filename()))
+ """).replace("FILENAME", data.data_filename()))
def test_debug_data_with_no_data(self):
data = CoverageData()
@@ -700,7 +700,7 @@ class CmdLineWithFilesTest(BaseCmdLineTest):
-- data ------------------------------------------------------
path: FILENAME
No data collected
- """).replace("FILENAME", data.filename()))
+ """).replace("FILENAME", data.data_filename()))
class CmdLineStdoutTest(BaseCmdLineTest):