summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-26 03:58:25 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-26 03:58:25 (GMT)
commit571861d3d323affd1f9283d6cc56d8f682037d2b (patch)
treed5794db74131b6c20e223daad13b3cf39cba3fa6 /Objects
parent7e95befeda7c2c11a47001e96e2eb61ff5fd9287 (diff)
downloadcpython-571861d3d323affd1f9283d6cc56d8f682037d2b.zip
cpython-571861d3d323affd1f9283d6cc56d8f682037d2b.tar.gz
cpython-571861d3d323affd1f9283d6cc56d8f682037d2b.tar.bz2
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.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3052ebd..fe23b00 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;