diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-25 11:27:25 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-25 11:27:25 -0400 |
| commit | 42f1dac01d72202b019063bfd5d1ffe9588e676b (patch) | |
| tree | f472d010f4471cc98febcbbfd719335bada88afb /coverage | |
| parent | 13420e9cf4f37c2c0742f200d943f398cb790643 (diff) | |
| download | python-coveragepy-42f1dac01d72202b019063bfd5d1ffe9588e676b.tar.gz | |
Better spelling.
Diffstat (limited to 'coverage')
| -rw-r--r-- | coverage/backward.py | 1 | ||||
| -rw-r--r-- | coverage/parser.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/coverage/backward.py b/coverage/backward.py index fecb028..5dbb411 100644 --- a/coverage/backward.py +++ b/coverage/backward.py @@ -152,7 +152,6 @@ def import_local_file(modname): with open(modfile, 'r') as f: # pylint: disable=undefined-loop-variable - # (Using possibly undefined loop variable 'suff') mod = imp.load_module(modname, f, modfile, suff) return mod diff --git a/coverage/parser.py b/coverage/parser.py index 2841c6b..a2b1b61 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -330,7 +330,7 @@ OPS_NO_JUMP = OPS_PUSH_BLOCK OP_BREAK_LOOP = _opcode('BREAK_LOOP') OP_END_FINALLY = _opcode('END_FINALLY') OP_COMPARE_OP = _opcode('COMPARE_OP') -COMPARE_EXCEPTION = 10 # just have to get this const from the code. +COMPARE_EXCEPTION = 10 # just have to get this constant from the code. OP_LOAD_CONST = _opcode('LOAD_CONST') OP_RETURN_VALUE = _opcode('RETURN_VALUE') |
