1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
From: Eric Jolibois <em.jolibois@gmail.com>
Date: Sat, 9 Aug 2025 12:25:21 +0200
Subject: build: bump pytest to 8.4
fix #1755
Origin: backport, https://github.com/pydantic/pydantic-core/pull/1781
Last-Update: 2025-08-20
---
tests/validators/test_arguments.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/validators/test_arguments.py b/tests/validators/test_arguments.py
index 5a147cc..d5671c2 100644
--- a/tests/validators/test_arguments.py
+++ b/tests/validators/test_arguments.py
@@ -47,7 +47,7 @@ def test_args_kwargs():
[
ArgsKwargs((1, 'a', True), {'x': 1}),
Err(
- '',
+ '1 validation error for arguments',
[
{
'type': 'unexpected_keyword_argument',
@@ -61,7 +61,7 @@ def test_args_kwargs():
[
[1],
Err(
- '',
+ '2 validation errors for arguments',
[
{
'type': 'missing_positional_only_argument',
@@ -81,7 +81,7 @@ def test_args_kwargs():
[
[1, 'a', True, 4],
Err(
- '',
+ '1 validation error for arguments',
[
{
'type': 'unexpected_positional_argument',
@@ -95,7 +95,7 @@ def test_args_kwargs():
[
[1, 'a', True, 4, 5],
Err(
- '',
+ '2 validation errors for arguments',
[
{
'type': 'unexpected_positional_argument',
@@ -115,7 +115,7 @@ def test_args_kwargs():
[
('x', 'a', 'wrong'),
Err(
- '',
+ '2 validation errors for arguments',
[
{
'type': 'int_parsing',
@@ -221,7 +221,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
[
ArgsKwargs((), {'a': 'x', 'b': 'a', 'c': 'wrong'}),
Err(
- '',
+ '2 validation errors for arguments',
[
{
'type': 'int_parsing',
@@ -241,7 +241,7 @@ def test_positional_args(py_and_json: PyAndJson, input_value, expected):
[
ArgsKwargs(()),
Err(
- '',
+ '3 validation errors for arguments',
[
{
'type': 'missing_keyword_only_argument',
|