diff options
-rw-r--r-- | TODO.txt | 3 | ||||
-rw-r--r-- | coverage/codeunit.py | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -22,9 +22,10 @@ Key: - .format() ? + try/except/finally + with assertRaises - - addCleaup instead of tearDown + - addCleaup instead of tearDown (only in 2.7!) + exec statement can look like a function in py2 (since when?) - runpy ? + - we can use "except ExcClass as e:" + Remove code only run on <2.6 - Change data file to json diff --git a/coverage/codeunit.py b/coverage/codeunit.py index c58e237b..0b02f862 100644 --- a/coverage/codeunit.py +++ b/coverage/codeunit.py @@ -127,7 +127,7 @@ class CodeUnit(object): def should_be_python(self): """Does it seem like this file should contain Python? - This is used to decide if a file reported as part of the exection of + This is used to decide if a file reported as part of the execution of a program was really likely to have contained Python in the first place. |