Skip to content

Commit 72c50ad

Browse files
committed
ignore lint in test
1 parent 6fdeab1 commit 72c50ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_from_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ def inner(*args, **kwargs):
314314
assert name not in RECURSIVE_REFS
315315
except (
316316
jsonschema.exceptions._RefResolutionError,
317-
wre := getattr(jsonschema.exceptions, "_WrappedReferencingError", ()),
317+
W := getattr(jsonschema.exceptions, "_WrappedReferencingError", ()), # noqa
318318
) as err:
319-
if isinstance(err, wre) and isinstance(
319+
if isinstance(err, W) and isinstance(
320320
err._wrapped, jsonschema.exceptions._Unresolvable
321321
):
322322
pytest.xfail()

0 commit comments

Comments
 (0)