youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 155f9550c0f7c0f671d7607f1be671e26a75f39d
parent 72476fcc42b2bb059c1d3b6f42e7b2bc1c33293f
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 26 Nov 2014 22:52:28 +0100

[test/helper] Fix newlines in output of missing test fields

Diffstat:
Mtest/helper.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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(