diff options
Diffstat (limited to 'testsuite/python38.py')
-rw-r--r-- | testsuite/python38.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/python38.py b/testsuite/python38.py new file mode 100644 index 0000000..59addad --- /dev/null +++ b/testsuite/python38.py @@ -0,0 +1,12 @@ +#: Okay +if x := 1: + print(x) +if m and (token := m.group(1)): + pass +stuff = [[y := f(x), x / y] for x in range(5)] +#: E225:1:5 +if x:= 1: + pass +#: E225:1:18 +if False or (x :=1): + pass |