File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ jobs:
14
14
- name : Set up Python
15
15
uses : actions/setup-python@v2
16
16
with :
17
- python-version : pypy3
17
+ python-version : 3.9
18
18
- name : Ensure we have new enough versions to respect python_version
19
19
run : python -m pip install -U pip setuptools
20
20
- name : Install tox
21
21
run : python -m pip install tox
22
22
- name : Collect & Upload Coverage
23
23
# codecov.io is too flaky to fail for this right now
24
24
continue-on-error : true
25
- run : python -m tox -e pypy3 -format-codecov
25
+ run : python -m tox -e py39 -format-codecov
26
26
env :
27
27
CODECOV_TOKEN : 2b38dae1-41c4-4435-a29d-79a1299e5617
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def is_ipv6(instance):
205
205
206
206
try :
207
207
from fqdn import FQDN
208
- except ImportError :
208
+ except ImportError : # pragma: no cover
209
209
pass
210
210
else :
211
211
@_checks_drafts (
@@ -223,7 +223,7 @@ def is_host_name(instance):
223
223
try :
224
224
# The built-in `idna` codec only implements RFC 3890, so we go elsewhere.
225
225
import idna
226
- except ImportError :
226
+ except ImportError : # pragma: no cover
227
227
pass
228
228
else :
229
229
@_checks_drafts (
@@ -242,7 +242,7 @@ def is_idn_host_name(instance):
242
242
except ImportError :
243
243
try :
244
244
from rfc3986_validator import validate_rfc3986
245
- except ImportError :
245
+ except ImportError : # pragma: no cover
246
246
pass
247
247
else :
248
248
@_checks_drafts (name = "uri" )
@@ -348,7 +348,7 @@ def is_draft3_time(instance):
348
348
try : # webcolors<1.11
349
349
from webcolors import css21_names_to_hex as CSS21_NAMES_TO_HEX
350
350
import webcolors
351
- except ImportError :
351
+ except ImportError : # pragma: no cover
352
352
pass
353
353
else :
354
354
def is_css_color_code (instance ):
@@ -371,7 +371,7 @@ def is_css3_color(instance):
371
371
372
372
try :
373
373
import jsonpointer
374
- except ImportError :
374
+ except ImportError : # pragma: no cover
375
375
pass
376
376
else :
377
377
@_checks_drafts (
@@ -413,7 +413,7 @@ def is_relative_json_pointer(instance):
413
413
414
414
try :
415
415
import uri_template
416
- except ImportError :
416
+ except ImportError : # pragma: no cover
417
417
pass
418
418
else :
419
419
@_checks_drafts (
You can’t perform that action at this time.
0 commit comments