Skip to content

Commit 05c4286

Browse files
committed
Make a few test cases
1 parent b22b672 commit 05c4286

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

testsuite/python38.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,49 @@ def f3(
5959
#: E741
6060
if (l := 1):
6161
pass
62+
#: Okay
63+
def f(
64+
x=4 / 2, y=(1, 4 / 2), /
65+
):
66+
...
67+
#: W504:4:14
68+
def f(
69+
x=4 / 2,
70+
y=(
71+
1, 4 /
72+
2
73+
),
74+
/
75+
):
76+
...
77+
#: W504:2:9
78+
def f(
79+
x=4 /
80+
2,
81+
y=(1, 4 / 2),
82+
/
83+
):
84+
...
85+
#: Okay
86+
def f(
87+
x=4 / 2, y=(1, 4 / 2), /
88+
):
89+
...
90+
#: W503:5:9
91+
def f(
92+
x=4 / 2,
93+
y=(
94+
1, 4
95+
/ 2
96+
),
97+
/
98+
):
99+
...
100+
#: W503:3:5
101+
def f(
102+
x=4
103+
/ 2,
104+
y=(1, 4 / 2),
105+
/
106+
):
107+
...

0 commit comments

Comments
 (0)