mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-4293 Conditional expression in return clause is not flagged as incompatible with Python 2.4
removed duplicated tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# PY-2792
|
||||
<warning descr="Python version 2.4 doesn't support this syntax.">x = True if condition else False</warning>
|
||||
x = <warning descr="Python version 2.4 doesn't support this syntax.">True if condition else False</warning>
|
||||
|
||||
def foo(): # PY-2796
|
||||
<warning descr="Python version 2.4 doesn't support this syntax. In Python <= 2.4, yield was a statement; it didn't return any value.">a = (yield 1)</warning>
|
||||
|
||||
Reference in New Issue
Block a user