From 15addf22adbfd1070fbb88799a3f90b4e1da61d9 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 2d964395..5ca1ef95 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 a4e1a09d..c32868be 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