From e6a8de346a6c97f353b4cfc41d041082e0c5fda9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 24 Mar 2011 22:50:56 -0400 Subject: Remove trailing spaces --- coverage/control.py | 2 +- test/test_api.py | 4 ++-- 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) ) -- cgit v1.2.1