mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 21:44:18 +07:00
`testBreakInFinallyBlock` and `testReturnInFinallyBlock` were testing vs. latest language level, so apart from the compatibility warning (for which these tests are intended) - a corresponding syntax error was captured I made these tests to use a specific language level so they only verify the correctness of the compatibility inspection and introduced four tests in `PythonHighlightingTest` to capture the syntax error (cherry picked from commit 254570dc4d5022176590377eaf8ea6a08917937a) IJ-MR-182362 GitOrigin-RevId: bd5798dffcd4723643e974534514d541efc06d9a
5 lines
54 B
Python
5 lines
54 B
Python
while True:
|
|
try:
|
|
print("a")
|
|
finally:
|
|
break |