summaryrefslogtreecommitdiff
path: root/python/subunit
diff options
context:
space:
mode:
authorVincent Ladeuil <v.ladeuil+lp@free.fr>2010-05-12 15:16:49 +0200
committerVincent Ladeuil <v.ladeuil+lp@free.fr>2010-05-12 15:16:49 +0200
commit76ef047c1ef4545aa10655e9acdb31a280fc7203 (patch)
tree6a50be8aacde9558ada44ba9622fc4548b86f23b /python/subunit
parent6512f1ced1a415ab528b44ee10a0c34eac801480 (diff)
downloadsubunit-git-76ef047c1ef4545aa10655e9acdb31a280fc7203.tar.gz
(vila, martin(gz), lifeless) Make _feed_chunks assertion verbose to help debug
Diffstat (limited to 'python/subunit')
-rw-r--r--python/subunit/details.py2
1 files changed, 1 insertions, 1 deletions
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()])