Skip to content

Commit c6018f3

Browse files
committed
update test_exceptions
1 parent f0dd555 commit c6018f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def testSyntaxErrorOffset(self):
260260
check('class foo:return 1', 1, 11)
261261
check('def f():\n continue', 2, 3)
262262
check('def f():\n break', 2, 3)
263-
check('try:\n pass\nexcept:\n pass\nexcept ValueError:\n pass', 3, 1)
263+
check('try:\n pass\nexcept:\n pass\nexcept ValueError:\n pass', 3, 0)
264264
check('try:\n pass\nexcept*:\n pass', 3, 8)
265265
check('try:\n pass\nexcept*:\n pass\nexcept* ValueError:\n pass', 3, 8)
266266

0 commit comments

Comments
 (0)