Skip to content

Commit cac64f1

Browse files
sobolevnvstinner
andauthored
Update Lib/test/test_list.py
Co-authored-by: Victor Stinner <[email protected]>
1 parent 3f4db45 commit cac64f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def lappend(l, x, y):
346346
except TypeError:
347347
pass
348348
else:
349-
assert False
349+
raise AssertionError
350350
""")
351351

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

0 commit comments

Comments
 (0)