diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-03-24 13:05:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-03-24 13:05:20 -0400 |
commit | 820b255f34a0aac8670b0c819153bb8b38c4b2c6 (patch) | |
tree | 61cc57a000b6d73d20f7ecadec76a9fb79b04206 /coverage/parser.py | |
parent | ce55ad5567d461cebf7bd73d9662c6ac36696106 (diff) | |
download | python-coveragepy-git-820b255f34a0aac8670b0c819153bb8b38c4b2c6.tar.gz |
Move more PYVERSION to be PYBEHAVIOR
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index 1c19f69e..6ae99fe4 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -409,7 +409,7 @@ class ByteParser(object): yield (byte_num, line_num) last_line_num = line_num byte_num += byte_incr - if env.PYVERSION >= (3, 6) and line_incr >= 0x80: + if env.PYBEHAVIOR.negative_lnotab and line_incr >= 0x80: line_incr -= 0x100 line_num += line_incr if line_num != last_line_num: |