Skip to content

Commit e06e93e

Browse files
committed
add example cases for incorrect E275 from reverted patch
1 parent bb57b4c commit e06e93e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

testsuite/E27.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@
4242
from importable.module import(e, f)
4343
except ImportError:
4444
pass
45+
#: Okay
46+
matched = {"true": True, "false": False}

testsuite/python3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def foo(x: int) -> int:
99

1010
# Annotated variables #575
1111
CONST: int = 42
12+
match: int = 42
13+
case: int = 42
1214

1315

1416
class Class:

0 commit comments

Comments
 (0)