summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/subunit/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py
index 4d2d609..d6093b9 100644
--- a/python/subunit/__init__.py
+++ b/python/subunit/__init__.py
@@ -171,7 +171,10 @@ class TestProtocolServer(object):
if line == "]\n":
self.endQuote(line)
elif self.state in (TestProtocolServer.READING_FAILURE,
- TestProtocolServer.READING_ERROR, TestProtocolServer.READING_SKIP):
+ TestProtocolServer.READING_ERROR, TestProtocolServer.READING_SKIP,
+ TestProtocolServer.READING_SUCCESS,
+ TestProtocolServer.READING_XFAIL
+ ):
self._appendMessage(line)
else:
parts = line.split(None, 1)