Skip to content

Commit de14a15

Browse files
committed
Added skip for url test for lower python versions
1 parent 923e14f commit de14a15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration_tests/test_codemod_urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import asyncio
2+
import sys
23

34
import httpx
45
import pytest
@@ -18,6 +19,7 @@ async def visit_url(client, url):
1819

1920

2021
@pytest.mark.asyncio
22+
@pytest.mark.skipif(sys.version_info <= (3, 12))
2123
async def check_accessible_urls(urls):
2224
async with httpx.AsyncClient() as client:
2325
tasks = [visit_url(client, url) for url in urls]

0 commit comments

Comments
 (0)