diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-23 18:28:49 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-10 14:51:38 +0800 |
commit | dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449 (patch) | |
tree | ed4c6036aa4e509a9d46e9c184c819702fb4f5c5 /test/test_utils.py | |
parent | 4350b74545ea3d3ce072444655613bc6974d5516 (diff) |
[utils,compat] Move struct_pack and struct_unpack to compat.py
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 00ada95ec..5702ffa97 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -55,7 +55,6 @@ from youtube_dl.utils import ( smuggle_url, str_to_int, strip_jsonp, - struct_unpack, timeconvert, unescapeHTML, unified_strdate, @@ -457,9 +456,6 @@ class TestUtil(unittest.TestCase): testPL(5, 2, (2, 99), [2, 3, 4]) testPL(5, 2, (20, 99), []) - def test_struct_unpack(self): - self.assertEqual(struct_unpack('!B', b'\x00'), (0,)) - def test_read_batch_urls(self): f = io.StringIO('''\xef\xbb\xbf foo bar\r |