From: Neal Norwitz Date: Sun, 26 Aug 2007 03:58:25 +0000 (+0000) Subject: Remove assert that seems out of place. It triggers with test_string, X-Git-Tag: v3.0a1~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=571861d3d323affd1f9283d6cc56d8f682037d2b;p=python 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. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3052ebd4c9..fe23b00f1c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9209,8 +9209,6 @@ formatteriter_next(formatteriterobject *it) PyObject *conversion_str = NULL; PyObject *result = NULL; - assert(result == 2); - is_markup_bool = PyBool_FromLong(is_markup); if (!is_markup_bool) goto error;