From: Philipp Hagemeister Date: Thu, 13 Nov 2014 13:55:45 +0000 (+0100) Subject: [test/helper] Improve output X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3e6e4999ca09352fa513c20bfb5ba7b37811819b;p=youtube-dl [test/helper] Improve output --- diff --git a/test/helper.py b/test/helper.py index 325f72f0a..8be37a183 100644 --- a/test/helper.py +++ b/test/helper.py @@ -145,7 +145,8 @@ def expect_info_dict(self, expected_dict, got_dict): info_dict_str = ''.join( ' %s: %s,\n' % (_repr(k), _repr(v)) for k, v in test_info_dict.items()) - write_string('\n"info_dict": {\n' + info_dict_str + '}\n', out=sys.stderr) + write_string( + '\n\'info_dict\': {\n' + info_dict_str + '}\n', out=sys.stderr) self.assertFalse( missing_keys, 'Missing keys in test definition: %s' % (