Skip to content

Commit f868359

Browse files
committed
Address review
1 parent 210772f commit f868359

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Lib/test/test_list.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -336,17 +336,17 @@ def test_deopt_from_append_list(self):
336336
# gh-132011: it used to crash, because
337337
# of `CALL_LIST_APPEND` specialization failure.
338338
code = textwrap.dedent("""
339-
l = []
340-
def lappend(l, x, y):
341-
l.append((x, y))
342-
for x in range(3):
343-
lappend(l, None, None)
344-
try:
345-
lappend(list, None, None)
346-
except TypeError:
347-
pass
348-
else:
349-
raise AssertionError
339+
l = []
340+
def lappend(l, x, y):
341+
l.append((x, y))
342+
for x in range(3):
343+
lappend(l, None, None)
344+
try:
345+
lappend(list, None, None)
346+
except TypeError:
347+
pass
348+
else:
349+
raise AssertionError
350350
""")
351351

352352
rc, _, _ = assert_python_ok("-c", code)

0 commit comments

Comments
 (0)