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 | 64a248c2818b724ae89fe26f38e5738cd59c768b (patch) | |
tree | 0ffffbc0bc94fb34128e827ca376b8a1fc05f79c | |
parent | 7f0741b9997d96567abc32fe306805db610d959d (diff) | |
download | python-coveragepy-git-64a248c2818b724ae89fe26f38e5738cd59c768b.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 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. |