]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[test/helper] Improve output
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 13 Nov 2014 13:55:45 +0000 (14:55 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 13 Nov 2014 13:55:45 +0000 (14:55 +0100)
test/helper.py

index 325f72f0a35c5c4fe6ac3a1464858b200c152aad..8be37a183abcedc80945d5bb663ed000dc33f738 100644 (file)
@@ -145,7 +145,8 @@ def expect_info_dict(self, expected_dict, got_dict):
         info_dict_str = ''.join(
             '    %s: %s,\n' % (_repr(k), _repr(v))
             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(
             missing_keys,
             'Missing keys in test definition: %s' % (