diff options
author | Philipp Hagemeister <[email protected]> | 2014-11-13 14:55:45 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-11-13 14:55:45 +0100 |
commit | 3e6e4999ca09352fa513c20bfb5ba7b37811819b (patch) | |
tree | 7f176e25ea407c6b8aab6545e410eda55cd9c8ec /test/helper.py | |
parent | 0e15e725a09e04b8ba47ac7ddfe7d26683db584c (diff) | |
download | youtube-dl-3e6e4999ca09352fa513c20bfb5ba7b37811819b.tar.gz youtube-dl-3e6e4999ca09352fa513c20bfb5ba7b37811819b.zip |
[test/helper] Improve output
Diffstat (limited to 'test/helper.py')
-rw-r--r-- | test/helper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py index 325f72f0a..8be37a183 100644 --- a/test/helper.py +++ b/test/helper.py @@ -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' % ( |