Skip to content

Commit b62dee9

Browse files
committed
TST, TYP: Fix failing type-test for mypy>=1.12
1 parent a3776e2 commit b62dee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/typing/tests/data/fail/testing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ np.testing.assert_array_max_ulp(AR_U, AR_U) # E: incompatible type
2323
np.testing.assert_warns(warning_class=RuntimeWarning, func=func) # E: No overload variant
2424
np.testing.assert_no_warnings(func=func) # E: No overload variant
2525
np.testing.assert_no_warnings(func, None) # E: Too many arguments
26-
np.testing.assert_no_warnings(func, test=None) # E: Unexpected keyword argument
26+
np.testing.assert_no_warnings(func, test=None) # E: No overload variant
2727

2828
np.testing.assert_no_gc_cycles(func=func) # E: No overload variant

0 commit comments

Comments
 (0)