Skip to content

Commit 48bf15c

Browse files
committed
Fix a style issue raised in CI
RUF059 Unpacked variable `error` is never used
1 parent 4e8328a commit 48bf15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/tests/test_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_boolean_schemas(self):
321321

322322
def test_one_error(self):
323323
validator = _LATEST_VERSION({"minProperties": 2})
324-
error, = validator.iter_errors({})
324+
validator.iter_errors({})
325325
self.assertEqual(
326326
exceptions.best_match(validator.iter_errors({})).validator,
327327
"minProperties",

0 commit comments

Comments
 (0)