Skip to content

Commit

Permalink
ignore lint in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Mar 3, 2024
1 parent 6fdeab1 commit 72c50ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_from_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ def inner(*args, **kwargs):
assert name not in RECURSIVE_REFS
except (
jsonschema.exceptions._RefResolutionError,
wre := getattr(jsonschema.exceptions, "_WrappedReferencingError", ()),
W := getattr(jsonschema.exceptions, "_WrappedReferencingError", ()), # noqa
) as err:
if isinstance(err, wre) and isinstance(
if isinstance(err, W) and isinstance(
err._wrapped, jsonschema.exceptions._Unresolvable
):
pytest.xfail()
Expand Down

0 comments on commit 72c50ad

Please sign in to comment.