Skip to content

Commit eef1238

Browse files
committed
Comment out unitest test_send_contact_with_contact
Caused too many "RetryAfter: Flood control exceeded" errors. [ci skip]
1 parent 2aae602 commit eef1238

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_contact.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ def test_contact_de_json(self):
5353
self.assertEqual(contact.last_name, self.last_name)
5454
self.assertEqual(contact.user_id, self.user_id)
5555

56+
'''Commented out because it caused too many "RetryAfter: Flood control exceeded" errors.
5657
def test_send_contact_with_contact(self):
5758
con = telegram.Contact.de_json(self.json_dict, self._bot)
5859
message = self._bot.send_contact(contact=con, chat_id=self._chat_id)
5960
contact = message.contact
6061
6162
self.assertEqual(contact, con)
63+
'''
6264

6365
def test_contact_to_json(self):
6466
contact = telegram.Contact.de_json(self.json_dict, self._bot)

0 commit comments

Comments
 (0)