Skip to content

Commit 15addf2

Browse files
committed
Minor tweak to a warning.
1 parent 64a2ffa commit 15addf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coverage/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _check_for_packages(self):
325325
try:
326326
pkg_file = mod.__file__
327327
except AttributeError:
328-
self._warn("Module %s has no python source." % pkg)
328+
self._warn("Module %s has no Python source." % pkg)
329329
else:
330330
d, f = os.path.split(pkg_file)
331331
if f.startswith('__init__.'):

test/test_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def test_warnings(self):
277277

278278
self.assertTrue("Hello\n" in out)
279279
self.assertTrue(textwrap.dedent("""\
280-
Coverage.py warning: Module sys has no python source.
280+
Coverage.py warning: Module sys has no Python source.
281281
Coverage.py warning: Module xyzzy was never imported.
282282
Coverage.py warning: Module quux was never imported.
283283
Coverage.py warning: No data was collected.

0 commit comments

Comments
 (0)