summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
)