aboutsummaryrefslogtreecommitdiff
path: root/test/gentests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/gentests.py')
-rwxr-xr-xtest/gentests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/gentests.py b/test/gentests.py
index ee9092f33..0ea5d9f21 100755
--- a/test/gentests.py
+++ b/test/gentests.py
@@ -113,8 +113,6 @@ def gentests():
write(' fd.add_info_extractor(youtube_dl.InfoExtractors.' + ien + 'IE())')
write(' fd.download([' + repr(d['url']) + '])')
write(' self.assertTrue(os.path.exists(filename))')
- if 'size' in d:
- write(' self.assertEqual(os.path.getsize(filename), ' + repr(d['size']) + ')')
if 'md5' in d:
write(' md5_for_file = _file_md5(filename)')
write(' self.assertEqual(md5_for_file, ' + repr(d['md5']) + ')')