Update tests/test_utils_argfwd.py
Run CI Tests / test (push) Successful in 51s

This commit is contained in:
2025-08-03 13:30:05 +02:00
parent 02c6313b6c
commit db13732ac9
+2 -2
View File
@@ -103,9 +103,9 @@ def wrap_ignore_all(x, y):
return func_target(1, 2, 3, 4)
@pytest.mark.parametrize("func, expected_sig", [
(wrap_all, '(a, b, c=10, d=30)'),
(wrap_all, '(a, b, d=30, c=10)'),
(wrap_skip, '(a, b, c=10, d=20)'),
(wrap_ignore_all, '(x, y)'),
(wrap_ignore_all, '(x, y, c=10, d=20)'),
])
def test_signature_visible(func, expected_sig):
assert str(inspect.signature(func)) == expected_sig