Skip to content

Commit

Permalink
update test_exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Jan 19, 2025
1 parent f0dd555 commit c6018f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def testSyntaxErrorOffset(self):
check('class foo:return 1', 1, 11)
check('def f():\n continue', 2, 3)
check('def f():\n break', 2, 3)
check('try:\n pass\nexcept:\n pass\nexcept ValueError:\n pass', 3, 1)
check('try:\n pass\nexcept:\n pass\nexcept ValueError:\n pass', 3, 0)
check('try:\n pass\nexcept*:\n pass', 3, 8)
check('try:\n pass\nexcept*:\n pass\nexcept* ValueError:\n pass', 3, 8)

Expand Down

0 comments on commit c6018f3

Please sign in to comment.