We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0dd555 commit c6018f3Copy full SHA for c6018f3
Lib/test/test_exceptions.py
@@ -260,7 +260,7 @@ def testSyntaxErrorOffset(self):
260
check('class foo:return 1', 1, 11)
261
check('def f():\n continue', 2, 3)
262
check('def f():\n break', 2, 3)
263
- 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)
264
check('try:\n pass\nexcept*:\n pass', 3, 8)
265
check('try:\n pass\nexcept*:\n pass\nexcept* ValueError:\n pass', 3, 8)
266
0 commit comments