Skip to content

Commit f5aff33

Browse files
authored
Fix test failure with pytest 8+ and verbose mode (#535)
Fixes #534
1 parent adc4187 commit f5aff33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pytest_mock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def assert_argument_introspection(left: Any, right: Any) -> Generator[None, None
643643
expected = "\n ".join(util._compare_eq_iterable(left, right, verbose)) # type:ignore[arg-type]
644644
else:
645645
expected = "\n ".join(
646-
util._compare_eq_iterable(left, right, lambda t, *_: t, verbose)
646+
util._compare_eq_iterable(left, right, lambda t, *_, **__: t, verbose) # type:ignore[arg-type]
647647
)
648648
assert expected in str(e)
649649
else:

0 commit comments

Comments
 (0)