We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5ccb1 commit 235bb72Copy full SHA for 235bb72
tests/test_sticker.py
@@ -23,6 +23,7 @@
23
import os
24
25
from flaky import flaky
26
+from future.utils import text_to_native_str
27
28
sys.path.append('.')
29
@@ -70,7 +71,7 @@ def test_send_sticker_resend(self):
70
71
self.assertEqual(sticker.width, self.width)
72
self.assertEqual(sticker.height, self.height)
73
self.assertTrue(isinstance(sticker.thumb, telegram.PhotoSize))
- self.assertEqual(sticker.emoji, self.emoji.decode('utf-8'))
74
+ self.assertEqual(sticker.emoji, text_to_native_str(self.emoji))
75
self.assertEqual(sticker.file_size, self.file_size)
76
77
def test_sticker_de_json(self):
0 commit comments