1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 13:18:02 +08:00

[test/helper] Improve output

This commit is contained in:
Philipp Hagemeister 2014-11-13 14:55:45 +01:00
parent 0e15e725a0
commit 3e6e4999ca

View File

@ -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' % (