Skip to content

Commit 9b55bc2

Browse files
committed
update test
1 parent b86551b commit 9b55bc2

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
@@ -436,7 +436,7 @@ def f(v: int) -> int:
436436
with pytest.raises(ValidationError) as exc_info:
437437
v.validate_python(data)
438438

439-
assert len(calls) <= 10, len(calls)
439+
assert len(calls) <= 11, len(calls) # we still run validation on the "extra" item
440440

441441
assert exc_info.value.errors(include_url=False) == Contains(
442442
{

0 commit comments

Comments
 (0)