From aafd82cc752bb16fe217656a2cae4e531cfc611f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 28 Sep 2013 11:07:41 -0400 Subject: Now we can run .pyc files directly. Closes #264. --- coverage/misc.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coverage/misc.py') diff --git a/coverage/misc.py b/coverage/misc.py index 473d7d43..2d2662da 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -146,6 +146,10 @@ class NoSource(CoverageException): """We couldn't find the source for a module.""" pass +class NoCode(NoSource): + """We couldn't find any code at all.""" + pass + class NotPython(CoverageException): """A source file turned out not to be parsable Python.""" pass -- cgit v1.2.1