From 2a7b03e7c2543ad5ac69763cfc02591b698305dc Mon Sep 17 00:00:00 2001 From: Leandro Toledo Date: Wed, 13 Jan 2016 19:15:11 -0200 Subject: [PATCH] Fix travis - file_size is irrelevant for resend test --- tests/test_photo.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_photo.py b/tests/test_photo.py index 9d5af80cd..0cb71309f 100644 --- a/tests/test_photo.py +++ b/tests/test_photo.py @@ -138,13 +138,11 @@ class PhotoTest(BaseTest, unittest.TestCase): self.assertTrue(isinstance(thumb, telegram.PhotoSize)) self.assertEqual(thumb.width, self.thumb['width']) self.assertEqual(thumb.height, self.thumb['height']) - self.assertEqual(thumb.file_size, self.thumb['file_size']) self.assertEqual(photo.file_id, self.photo_file_id) self.assertTrue(isinstance(photo, telegram.PhotoSize)) self.assertEqual(photo.width, self.width) self.assertEqual(photo.height, self.height) - self.assertEqual(photo.file_size, self.file_size) def test_photo_de_json(self): """Test Photo.de_json() method"""