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 2aae602 commit eef1238Copy full SHA for eef1238
tests/test_contact.py
@@ -53,12 +53,14 @@ def test_contact_de_json(self):
53
self.assertEqual(contact.last_name, self.last_name)
54
self.assertEqual(contact.user_id, self.user_id)
55
56
+ '''Commented out because it caused too many "RetryAfter: Flood control exceeded" errors.
57
def test_send_contact_with_contact(self):
58
con = telegram.Contact.de_json(self.json_dict, self._bot)
59
message = self._bot.send_contact(contact=con, chat_id=self._chat_id)
60
contact = message.contact
61
62
self.assertEqual(contact, con)
63
+ '''
64
65
def test_contact_to_json(self):
66
contact = telegram.Contact.de_json(self.json_dict, self._bot)
0 commit comments