Skip to content

Commit d29fa5e

Browse files
committed
Minimize changes
1 parent a0cb1f5 commit d29fa5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/validators/test_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def gen(error: bool):
354354
raise RuntimeError('error')
355355
yield 3
356356

357-
v = SchemaValidator({'type': 'list', 'items_schema': {'type': 'int'}, 'allow_any_iter': True})
357+
v = SchemaValidator({'type': 'list', 'items_schema': {'type': 'int'}})
358358
assert v.validate_python(gen(False)) == [1, 2, 3]
359359
with pytest.raises(ValidationError) as exc_info:
360360
v.validate_python(gen(True))

0 commit comments

Comments
 (0)