mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +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: fb9c92923820b370672451c5753ee24bdd5a4570
5 lines
54 B
Python
5 lines
54 B
Python
while True:
|
|
try:
|
|
print("a")
|
|
finally:
|
|
break |