Skip to content

Commit 81c4996

Browse files
committed
fix review idea
Signed-off-by: Manjusaka <[email protected]>
1 parent e0e3745 commit 81c4996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,12 +1971,12 @@ def testfunc(n):
19711971

19721972
def test_get_len_with_immortal_tuple(self):
19731973
def testfunc(n):
1974-
class TestObject(tuple):
1974+
class TestObject:
19751975
pass
19761976
x = 0.0
19771977
for _ in range(n):
19781978
match TestObject.__mro__:
1979-
case (_, _, _,):
1979+
case (_, _,):
19801980
x += 1.0
19811981
return x
19821982
res, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)

0 commit comments

Comments
 (0)