diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 22:52:28 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 22:52:28 +0100 |
commit | 155f9550c0f7c0f671d7607f1be671e26a75f39d (patch) | |
tree | d305e0ba20204467b26e91b65d15a683aa911778 /test | |
parent | 72476fcc42b2bb059c1d3b6f42e7b2bc1c33293f (diff) |
[test/helper] Fix newlines in output of missing test fields
Diffstat (limited to 'test')
-rw-r--r-- | test/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py index 2e320e2cf..9a7f0746e 100644 --- a/test/helper.py +++ b/test/helper.py @@ -141,7 +141,7 @@ def expect_info_dict(self, expected_dict, got_dict): if missing_keys: def _repr(v): if isinstance(v, compat_str): - return "'%s'" % v.replace('\\', '\\\\').replace("'", "\\'") + return "'%s'" % v.replace('\\', '\\\\').replace("'", "\\'").replace('\n', '\\n') else: return repr(v) info_dict_str = ''.join( |