Skip to content

Commit 13d2a7a

Browse files
committed
fix bench
1 parent 70a1689 commit 13d2a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/benchmarks/test_micro_benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ def f(v: int, info: core_schema.FieldValidationInfo) -> int:
14611461
schema: core_schema.CoreSchema = core_schema.int_schema()
14621462

14631463
for _ in range(100):
1464-
schema = core_schema.field_after_validator_function(f, schema)
1464+
schema = core_schema.field_after_validator_function(f, 'x', schema)
14651465

14661466
schema = core_schema.typed_dict_schema({'x': core_schema.typed_dict_field(schema)})
14671467

0 commit comments

Comments
 (0)