From 15626edd35cc39ac28a76cda37144d30e8ac655a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 4 Jun 2011 21:26:20 -0400 Subject: Minor tweak to a warning. --- coverage/control.py | 2 +- test/test_process.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coverage/control.py b/coverage/control.py index 2d96439..5ca1ef9 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -325,7 +325,7 @@ class coverage(object): try: pkg_file = mod.__file__ except AttributeError: - self._warn("Module %s has no python source." % pkg) + self._warn("Module %s has no Python source." % pkg) else: d, f = os.path.split(pkg_file) if f.startswith('__init__.'): diff --git a/test/test_process.py b/test/test_process.py index a4e1a09..c32868b 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -277,7 +277,7 @@ class ProcessTest(CoverageTest): self.assertTrue("Hello\n" in out) self.assertTrue(textwrap.dedent("""\ - Coverage.py warning: Module sys has no python source. + Coverage.py warning: Module sys has no Python source. Coverage.py warning: Module xyzzy was never imported. Coverage.py warning: Module quux was never imported. Coverage.py warning: No data was collected. -- cgit v1.2.1