From d221f1d6dc91ff023bf24adea2728c3876c8b5bc Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 6 Mar 2014 17:40:28 -0500 Subject: Comment spelling and todo bookkeeping. --- TODO.txt | 3 ++- coverage/codeunit.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO.txt b/TODO.txt index 36b7c29..438bcee 100644 --- a/TODO.txt +++ b/TODO.txt @@ -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 c58e237..0b02f86 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. -- cgit v1.2.1