summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-03-24 22:50:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-03-24 22:50:56 -0400
commite6a8de346a6c97f353b4cfc41d041082e0c5fda9 (patch)
treecb68ff4618a51b246be566257270afe25ac86699
parent01ea68a1088fc1cdbdd586624ac695c5b697edeb (diff)
downloadpython-coveragepy-git-e6a8de346a6c97f353b4cfc41d041082e0c5fda9.tar.gz
Remove trailing spaces
-rw-r--r--coverage/control.py2
-rw-r--r--test/test_api.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 584f0937..dd656616 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -282,7 +282,7 @@ class coverage(object):
def _prep_patterns(self, patterns):
"""Prepare the file patterns for use in a `FnmatchMatcher`.
-
+
If a pattern starts with a wildcard, it is used as a pattern
as-is. If it does not start with a wildcard, then it is made
absolute with the current directory.
diff --git a/test/test_api.py b/test/test_api.py
index ccd7a29e..31d8988b 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -328,14 +328,14 @@ class SourceOmitIncludeTest(CoverageTest):
def filenames_in_summary(self, summary, filenames):
"""Assert the `filenames` are in the keys of `summary`."""
for filename in filenames.split():
- self.assert_(filename in summary,
+ self.assert_(filename in summary,
"%s should be in %r" % (filename, summary)
)
def filenames_not_in_summary(self, summary, filenames):
"""Assert the `filenames` are not in the keys of `summary`."""
for filename in filenames.split():
- self.assert_(filename not in summary,
+ self.assert_(filename not in summary,
"%s should not be in %r" % (filename, summary)
)