X Tutup
Skip to content

Commit 2a7b03e

Browse files
committed
Fix travis - file_size is irrelevant for resend test
1 parent 70445dc commit 2a7b03e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_photo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,11 @@ def test_send_photo_resend(self):
138138
self.assertTrue(isinstance(thumb, telegram.PhotoSize))
139139
self.assertEqual(thumb.width, self.thumb['width'])
140140
self.assertEqual(thumb.height, self.thumb['height'])
141-
self.assertEqual(thumb.file_size, self.thumb['file_size'])
142141

143142
self.assertEqual(photo.file_id, self.photo_file_id)
144143
self.assertTrue(isinstance(photo, telegram.PhotoSize))
145144
self.assertEqual(photo.width, self.width)
146145
self.assertEqual(photo.height, self.height)
147-
self.assertEqual(photo.file_size, self.file_size)
148146

149147
def test_photo_de_json(self):
150148
"""Test Photo.de_json() method"""

0 commit comments

Comments
 (0)
X Tutup