From 820b255f34a0aac8670b0c819153bb8b38c4b2c6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 24 Mar 2019 13:05:20 -0400 Subject: Move more PYVERSION to be PYBEHAVIOR --- coverage/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/parser.py') 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: -- cgit v1.2.1