summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-26 22:53:22 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-26 22:53:22 -0400
commita6093c14eaac0f9cf813c272a0a72d04ec1d8488 (patch)
tree7c8f788d79cb82ff109b38d847b11c4232c98320
parenta2c2e4365a9f1dde956319d5bc75bff6eef7ddfd (diff)
downloadpython-coveragepy-a6093c14eaac0f9cf813c272a0a72d04ec1d8488.tar.gz
Fiddling
-rw-r--r--coverage/data.py2
-rw-r--r--tests/helpers.py2
-rw-r--r--tests/test_summary.py4
3 files changed, 3 insertions, 5 deletions
diff --git a/coverage/data.py b/coverage/data.py
index 977e6a0..7e14a69 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 cfea8f3..3d6be14 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 16a4c57..eb31d82 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
# -------------------------------