Files
openide/python/testData/inspections/PyCompatibilityInspection/tryFinallyEmptyRaisePy2.py
Semyon Proshev 00eb505497 Python 2.6 is no more supported in compatibility inspection
Because 2.6 is not supported since 2019.1 in IDE.

GitOrigin-RevId: 3dee3e941c921ad3a5dc6d72cca840eb5d811691
2020-10-16 12:24:45 +00:00

4 lines
176 B
Python

try:
raise ValueError
finally:
<error descr="Python version 2.7 does not support this syntax. Raise with no arguments can only be used in an except block">raise</error>