summaryrefslogtreecommitdiff
path: root/python/subunit/tests/__init__.py
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2021-07-29 10:44:48 +0200
committerGitHub <noreply@github.com>2021-07-29 10:44:48 +0200
commitc87ffbd904627d777aa1430963dced92a36aa033 (patch)
treec7abf479a50a137f715e591e20805e3947a7f4e9 /python/subunit/tests/__init__.py
parent59fbca9f6c5b4095622460d7237c13998d848d97 (diff)
parentfaaca9b50f59d63a21663a1dc8ed21f22ffb6223 (diff)
downloadsubunit-git-c87ffbd904627d777aa1430963dced92a36aa033.tar.gz
Merge pull request #51 from cjwatson/testtools-2.5.0
Fix tests with testtools 2.5.0
Diffstat (limited to 'python/subunit/tests/__init__.py')
-rw-r--r--python/subunit/tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/subunit/tests/__init__.py b/python/subunit/tests/__init__.py
index c6599f7..4c8b2ae 100644
--- a/python/subunit/tests/__init__.py
+++ b/python/subunit/tests/__init__.py
@@ -23,6 +23,7 @@ from testscenarios import generate_scenarios
# Before the test module imports to avoid circularity.
# For testing: different pythons have different str() implementations.
_remote_exception_repr = "testtools.testresult.real._StringException"
+_remote_exception_repr_chunked = "34\r\n" + _remote_exception_repr + ": boo qux\n0\r\n"
_remote_exception_str = "Traceback (most recent call last):\ntesttools.testresult.real._StringException"
_remote_exception_str_chunked = "57\r\n" + _remote_exception_str + ": boo qux\n0\r\n"