Skip to content

Commit 7a762ad

Browse files
committed
Make a few test cases
1 parent 6cddabc commit 7a762ad

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

testsuite/python38.py

+46
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,49 @@ def f3(
5353
#: E221:1:6 E221:1:19
5454
if (x := 1) == (y := 2):
5555
pass
56+
#: Okay
57+
def f(
58+
x=4 / 2, y=(1, 4 / 2), /
59+
):
60+
...
61+
#: W504:4:14
62+
def f(
63+
x=4 / 2,
64+
y=(
65+
1, 4 /
66+
2
67+
),
68+
/
69+
):
70+
...
71+
#: W504:2:9
72+
def f(
73+
x=4 /
74+
2,
75+
y=(1, 4 / 2),
76+
/
77+
):
78+
...
79+
#: Okay
80+
def f(
81+
x=4 / 2, y=(1, 4 / 2), /
82+
):
83+
...
84+
#: W503:5:9
85+
def f(
86+
x=4 / 2,
87+
y=(
88+
1, 4
89+
/ 2
90+
),
91+
/
92+
):
93+
...
94+
#: W503:3:5
95+
def f(
96+
x=4
97+
/ 2,
98+
y=(1, 4 / 2),
99+
/
100+
):
101+
...

0 commit comments

Comments
 (0)