mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 06:42:21 +00:00
[test/helper] Improve output
This commit is contained in:
parent
0e15e725a0
commit
3e6e4999ca
@ -145,7 +145,8 @@ def expect_info_dict(self, expected_dict, got_dict):
|
|||||||
info_dict_str = ''.join(
|
info_dict_str = ''.join(
|
||||||
' %s: %s,\n' % (_repr(k), _repr(v))
|
' %s: %s,\n' % (_repr(k), _repr(v))
|
||||||
for k, v in test_info_dict.items())
|
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(
|
self.assertFalse(
|
||||||
missing_keys,
|
missing_keys,
|
||||||
'Missing keys in test definition: %s' % (
|
'Missing keys in test definition: %s' % (
|
||||||
|
Loading…
Reference in New Issue
Block a user