Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 571861d

Browse files
committed
Remove assert that seems out of place. It triggers with test_string,
but without it test_string passes. I'm not sure why it was there.
1 parent 7e95bef commit 571861d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Objects/unicodeobject.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9209,8 +9209,6 @@ formatteriter_next(formatteriterobject *it)
92099209
PyObject *conversion_str = NULL;
92109210
PyObject *result = NULL;
92119211

9212-
assert(result == 2);
9213-
92149212
is_markup_bool = PyBool_FromLong(is_markup);
92159213
if (!is_markup_bool)
92169214
goto error;

0 commit comments

Comments
 (0)