Skip to content

Commit ae0d80d

Browse files
committed
Add skip to failing test.
Signed-off-by: Thomas Neidhart <thomas.neidhart@gmail.com>
1 parent a7cbedb commit ae0d80d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import collections
1212
import json
1313
import os
14+
import sys
1415
from netrc import netrc
1516
from unittest import mock
1617

@@ -49,6 +50,7 @@ def test_get_netrc_auth_with_no_matching_url():
4950

5051

5152
@pytest.mark.asyncio
53+
@pytest.mark.skipif(sys.version_info < (3, 8), reason="requires python3.8 or higher")
5254
@mock.patch("python_inspector.utils_pypi.CACHE.get")
5355
async def test_fetch_links(mock_get):
5456
file_name = test_env.get_test_loc("psycopg2.html")

0 commit comments

Comments
 (0)