@@ -47,7 +47,7 @@ def test_args_kwargs():
4747 [
4848 ArgsKwargs ((1 , 'a' , True ), {'x' : 1 }),
4949 Err (
50- '' ,
50+ '1 validation error for arguments ' ,
5151 [
5252 {
5353 'type' : 'unexpected_keyword_argument' ,
@@ -61,7 +61,7 @@ def test_args_kwargs():
6161 [
6262 [1 ],
6363 Err (
64- '' ,
64+ '2 validation errors for arguments ' ,
6565 [
6666 {
6767 'type' : 'missing_positional_only_argument' ,
@@ -81,7 +81,7 @@ def test_args_kwargs():
8181 [
8282 [1 , 'a' , True , 4 ],
8383 Err (
84- '' ,
84+ '1 validation error for arguments ' ,
8585 [
8686 {
8787 'type' : 'unexpected_positional_argument' ,
@@ -95,7 +95,7 @@ def test_args_kwargs():
9595 [
9696 [1 , 'a' , True , 4 , 5 ],
9797 Err (
98- '' ,
98+ '2 validation errors for arguments ' ,
9999 [
100100 {
101101 'type' : 'unexpected_positional_argument' ,
@@ -115,7 +115,7 @@ def test_args_kwargs():
115115 [
116116 ('x' , 'a' , 'wrong' ),
117117 Err (
118- '' ,
118+ '2 validation errors for arguments ' ,
119119 [
120120 {
121121 'type' : 'int_parsing' ,
@@ -221,7 +221,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
221221 [
222222 ArgsKwargs ((), {'a' : 'x' , 'b' : 'a' , 'c' : 'wrong' }),
223223 Err (
224- '' ,
224+ '2 validation errors for arguments ' ,
225225 [
226226 {
227227 'type' : 'int_parsing' ,
@@ -241,7 +241,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
241241 [
242242 ArgsKwargs (()),
243243 Err (
244- '' ,
244+ '3 validation errors for arguments ' ,
245245 [
246246 {
247247 'type' : 'missing_keyword_only_argument' ,
0 commit comments