From 98394d18bbaf69914dd18217b6f5bdf098e6466c Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 25 Feb 2018 21:31:30 -0500 Subject: [PATCH] pytest adjust: 2.7 should have be unchanged --- pytest/test_fjt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest/test_fjt.py b/pytest/test_fjt.py index 4bea6b6c..739eea71 100644 --- a/pytest/test_fjt.py +++ b/pytest/test_fjt.py @@ -28,7 +28,7 @@ def test_if_in_for(): if 2.7 <= PYTHON_VERSION <= 3.0 and not IS_PYPY: n = scan.setup_code(code) bytecode = Bytecode(code, scan.opc) - scan.lines = scan.build_lines_data(code, n) + scan.build_lines_data(code, n) scan.insts = list(bytecode) scan.offset2inst_index = {} for i, inst in enumerate(scan.insts): @@ -50,7 +50,7 @@ def test_if_in_for(): code = bug_loop.__code__ n = scan.setup_code(code) bytecode = Bytecode(code, scan.opc) - scan.lines = scan.build_lines_data(code, n) + scan.build_lines_data(code, n) scan.insts = list(bytecode) scan.build_prev_op(n) scan.offset2inst_index = {}