mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] PY-83029 fix tests
(cherry picked from commit 64d9931ee762c8ac801114e22952f3086235467a) IJ-MR-182362 GitOrigin-RevId: bcf515ae4f73cd3d44dc81a54c1acd1fbfb33c18
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a73f46edce
commit
b257c225d2
@@ -27,7 +27,7 @@ public class Py3CompatibilityInspectionTest extends PyInspectionTestCase {
|
||||
try:
|
||||
print("a")
|
||||
finally:
|
||||
<error descr="Python version 3.14 does not support 'break' inside 'finally' clause">break</error>"""
|
||||
<error descr="Python version 3.15 does not support 'break' inside 'finally' clause">break</error>"""
|
||||
);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public class Py3CompatibilityInspectionTest extends PyInspectionTestCase {
|
||||
try:
|
||||
pass
|
||||
finally:
|
||||
<error descr="Python version 3.14 does not support 'return' inside 'finally' clause">return</error>"""
|
||||
<error descr="Python version 3.15 does not support 'return' inside 'finally' clause">return</error>"""
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -266,7 +266,7 @@ public class PyCompatibilityInspectionTest extends PyInspectionTestCase {
|
||||
try:
|
||||
print("a")
|
||||
finally:
|
||||
<warning descr="Python versions 2.7, 3.7, 3.14 do not support 'continue' inside 'finally' clause">continue</warning>""")
|
||||
<warning descr="Python versions 2.7, 3.7, 3.14, 3.15 do not support 'continue' inside 'finally' clause">continue</warning>""")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user