Skip to content

Commit d3cb62a

Browse files
committed
run webhook set test only on 3.6 on appveyor
1 parent 391fb03 commit d3cb62a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_bot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# You should have received a copy of the GNU Lesser Public License
1818
# along with this program. If not, see [http://www.gnu.org/licenses/].
1919
import os
20+
import sys
2021
import time
2122
from datetime import datetime
2223
from platform import python_implementation
@@ -310,6 +311,8 @@ def test_get_updates(self, bot):
310311
@flaky(3, 1)
311312
@pytest.mark.timeout(15)
312313
@pytest.mark.xfail
314+
@pytest.mark.skipif(os.getenv('APPVEYOR') and (sys.version_info < (3, 6)),
315+
reason='only run on 3.6 on appveyor')
313316
def test_set_webhook_get_webhook_info_and_delete_webhook(self, bot):
314317
url = 'https://python-telegram-bot.org/test/webhook'
315318
max_connections = 7

0 commit comments

Comments
 (0)