From 76ef047c1ef4545aa10655e9acdb31a280fc7203 Mon Sep 17 00:00:00 2001 From: Vincent Ladeuil Date: Wed, 12 May 2010 15:16:49 +0200 Subject: (vila, martin(gz), lifeless) Make _feed_chunks assertion verbose to help debug --- python/subunit/details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/subunit') diff --git a/python/subunit/details.py b/python/subunit/details.py index 65a0404..acd6d0d 100644 --- a/python/subunit/details.py +++ b/python/subunit/details.py @@ -92,7 +92,7 @@ class MultipartDetailsParser(DetailsParser): residue = self._chunk_parser.write(line) if residue is not None: # Line based use always ends on no residue. - assert residue == '' + assert residue == '', 'residue: %r' % (residue,) body = self._body self._details[self._name] = content.Content( self._content_type, lambda:[body.getvalue()]) -- cgit v1.2.1