diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-01-13 04:05:13 (GMT) |
---|---|---|
committer | INADA Naoki <methane@users.noreply.github.com> | 2019-01-13 04:05:13 (GMT) |
commit | 995d9b92979768125ced4da3a56f755bcdf80f6e (patch) | |
tree | 2184ab1771b87883a92391f41229a12ce4cbd9d3 /Lib/test/test_opcodes.py | |
parent | 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7 (diff) | |
download | cpython-995d9b92979768125ced4da3a56f755bcdf80f6e.zip cpython-995d9b92979768125ced4da3a56f755bcdf80f6e.tar.gz cpython-995d9b92979768125ced4da3a56f755bcdf80f6e.tar.bz2 |
bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021)
Diffstat (limited to 'Lib/test/test_opcodes.py')
-rw-r--r-- | Lib/test/test_opcodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_opcodes.py b/Lib/test/test_opcodes.py index b2a22861..527aca6 100644 --- a/Lib/test/test_opcodes.py +++ b/Lib/test/test_opcodes.py @@ -27,7 +27,7 @@ class OpcodeTest(unittest.TestCase): with open(ann_module.__file__) as f: txt = f.read() co = compile(txt, ann_module.__file__, 'exec') - self.assertEqual(co.co_firstlineno, 6) + self.assertEqual(co.co_firstlineno, 3) except OSError: pass |