@@ -47,7 +47,7 @@ def test_args_kwargs():
47
47
[
48
48
ArgsKwargs ((1 , 'a' , True ), {'x' : 1 }),
49
49
Err (
50
- '' ,
50
+ '1 validation error for arguments ' ,
51
51
[
52
52
{
53
53
'type' : 'unexpected_keyword_argument' ,
@@ -61,7 +61,7 @@ def test_args_kwargs():
61
61
[
62
62
[1 ],
63
63
Err (
64
- '' ,
64
+ '2 validation errors for arguments ' ,
65
65
[
66
66
{
67
67
'type' : 'missing_positional_only_argument' ,
@@ -81,7 +81,7 @@ def test_args_kwargs():
81
81
[
82
82
[1 , 'a' , True , 4 ],
83
83
Err (
84
- '' ,
84
+ '1 validation error for arguments ' ,
85
85
[
86
86
{
87
87
'type' : 'unexpected_positional_argument' ,
@@ -95,7 +95,7 @@ def test_args_kwargs():
95
95
[
96
96
[1 , 'a' , True , 4 , 5 ],
97
97
Err (
98
- '' ,
98
+ '2 validation errors for arguments ' ,
99
99
[
100
100
{
101
101
'type' : 'unexpected_positional_argument' ,
@@ -115,7 +115,7 @@ def test_args_kwargs():
115
115
[
116
116
('x' , 'a' , 'wrong' ),
117
117
Err (
118
- '' ,
118
+ '2 validation errors for arguments ' ,
119
119
[
120
120
{
121
121
'type' : 'int_parsing' ,
@@ -221,7 +221,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
221
221
[
222
222
ArgsKwargs ((), {'a' : 'x' , 'b' : 'a' , 'c' : 'wrong' }),
223
223
Err (
224
- '' ,
224
+ '2 validation errors for arguments ' ,
225
225
[
226
226
{
227
227
'type' : 'int_parsing' ,
@@ -241,7 +241,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
241
241
[
242
242
ArgsKwargs (()),
243
243
Err (
244
- '' ,
244
+ '3 validation errors for arguments ' ,
245
245
[
246
246
{
247
247
'type' : 'missing_keyword_only_argument' ,
0 commit comments