diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-03-06 17:40:28 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-03-06 17:40:28 -0500 |
commit | d221f1d6dc91ff023bf24adea2728c3876c8b5bc (patch) | |
tree | 5409b4171823e480626b009f06cf838a22ad161c | |
parent | c8864c2360af80bcc1a0b9fb36c0405eb0c402d2 (diff) | |
download | python-coveragepy-d221f1d6dc91ff023bf24adea2728c3876c8b5bc.tar.gz |
Comment spelling and todo bookkeeping.
-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 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. |