File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def test_function_after():
35
35
36
36
37
37
def test_lax_or_strict ():
38
- s = SchemaSerializer (core_schema .lax_or_strict_schema (core_schema .int_schema (), core_schema .string_schema ()))
38
+ s = SchemaSerializer (core_schema .lax_or_strict_sch
7901
ema (core_schema .int_schema (), core_schema .str_schema ()))
39
39
# insert_assert(plain_repr(s))
40
40
assert plain_repr (s ) == 'SchemaSerializer(serializer=Str(StrSerializer),slots=[])'
41
41
@@ -48,7 +48,7 @@ def test_lax_or_strict_custom_ser():
48
48
s = SchemaSerializer (
49
49
core_schema .lax_or_strict_schema (
50
50
core_schema .int_schema (),
51
- core_schema .string_schema (),
51
+ core_schema .str_schema (),
52
52
serialization = core_schema .format_ser_schema ('^5s' , when_used = 'always' ),
53
53
)
54
54
)
You can’t perform that action at this time.
0 commit comments