From: Philipp Hagemeister Date: Tue, 17 Feb 2015 23:38:42 +0000 (+0100) Subject: [test/helper] Render info_dict with a final comma X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=f21e915fb9ad53a62df65e5c75c984243aaf0aea;p=youtube-dl.git [test/helper] Render info_dict with a final comma --- diff --git a/test/helper.py b/test/helper.py index fef2db284..570c91440 100644 --- a/test/helper.py +++ b/test/helper.py @@ -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' % (