mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[test/helper] Render info_dict with a final comma
This commit is contained in:
parent
6f53c63df6
commit
f21e915fb9
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def _repr(v):
|
||||||
' %s: %s,\n' % (_repr(k), _repr(test_info_dict[k]))
|
' %s: %s,\n' % (_repr(k), _repr(test_info_dict[k]))
|
||||||
for k in missing_keys)
|
for k in missing_keys)
|
||||||
write_string(
|
write_string(
|
||||||
'\n\'info_dict\': {\n' + info_dict_str + '}\n', out=sys.stderr)
|
'\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 a new issue