diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-26 22:53:22 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-26 22:53:22 -0400 |
commit | 2ef663800b64a0c6489da6b036cb1df9442d8e4d (patch) | |
tree | 249a8813567e4f3c3881e71c1ea41b32bafb9c42 | |
parent | 7b2590ee8013fc45276393495887bc8b039a3b0a (diff) | |
download | python-coveragepy-git-2ef663800b64a0c6489da6b036cb1df9442d8e4d.tar.gz |
Fiddling
-rw-r--r-- | coverage/data.py | 2 | ||||
-rw-r--r-- | tests/helpers.py | 2 | ||||
-rw-r--r-- | tests/test_summary.py | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/coverage/data.py b/coverage/data.py index 977e6a07..7e14a695 100644 --- a/coverage/data.py +++ b/coverage/data.py @@ -74,6 +74,8 @@ class CoverageData(object): """ + # TODO: case-sensitivity in file names in these methods. + # The data file format is JSON, with these keys: # # * lines: a dict mapping filenames to lists of line numbers diff --git a/tests/helpers.py b/tests/helpers.py index cfea8f3c..3d6be141 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -6,8 +6,6 @@ import subprocess -# This isn't really a backward compatibility thing, should be moved into a -# helpers file or something. def run_command(cmd): """Run a command in a sub-process. diff --git a/tests/test_summary.py b/tests/test_summary.py index 16a4c579..eb31d824 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -94,9 +94,7 @@ class SummaryTest(CoverageTest): # Try reporting while omitting some modules self.make_mycode() self.run_command("coverage run mycode.py") - report = self.report_from_command( - "coverage report --omit '%s/*'" % HERE - ) + report = self.report_from_command("coverage report --omit '%s/*'" % HERE) # Name Stmts Miss Cover # ------------------------------- |