1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 13:06:49 +01:00

[test/helper] Render info_dict with a final comma

This commit is contained in:
Philipp Hagemeister 2015-02-18 00:38:42 +01:00
parent 6f53c63df6
commit f21e915fb9

View File

@ -170,7 +170,7 @@ def expect_info_dict(self, got_dict, expected_dict):
' %s: %s,\n' % (_repr(k), _repr(test_info_dict[k]))
for k in missing_keys)
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(
missing_keys,
'Missing keys in test definition: %s' % (