]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[test/helper] Render info_dict with a final comma
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 23:38:42 +0000 (00:38 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 23:38:42 +0000 (00:38 +0100)
test/helper.py

index fef2db28404a4494496bba5951d8c1be0268812c..570c9144081cf4131b80068eeaf505824c6a8703 100644 (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' % (