Skip to content

Commit c152e5b

Browse files
Adjust the expected positions of the string prefix error for 3.13
1 parent 12ca827 commit c152e5b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_exceptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ def testSyntaxErrorRange(self):
237237
('abcd = 00010', 8, 11),
238238
('\u03b1\u03b2\u03b3\u03b4 = 00010', 8, 11),
239239
('a\u0301b\u0308c\u20d7d\u1ab0 = 00010', 12, 15),
240-
("abcd = ub'a'", 8, 10),
241-
("\u03b1\u03b2\u03b3\u03b4 = ub'a'", 8, 10),
242-
("a\u0301b\u0308c\u20d7d\u1ab0 = ub'a'", 12, 14),
240+
("abcd = ub'a'", 10, 13),
241+
("\u03b1\u03b2\u03b3\u03b4 = ub'a'", 10, 13),
242+
("a\u0301b\u0308c\u20d7d\u1ab0 = ub'a'", 14, 17),
243243
]:
244244
with self.subTest(source=source):
245245
with self.assertRaises(SyntaxError) as cm:

0 commit comments

Comments
 (0)