Skip to content

Commit 4d33cd6

Browse files
rasbtagramfort
authored andcommitted
rename function to func (scikit-learn#6700)
1 parent 7889054 commit 4d33cd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/utils/testing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,12 +406,12 @@ def assert_raise_message(exceptions, message, function, *args, **kwargs):
406406
exceptions : exception or tuple of exception
407407
Name of the estimator
408408
409-
func : callable
409+
function : callable
410410
Calable object to raise error
411411
412-
*args : the positional arguments to `func`.
412+
*args : the positional arguments to `function`.
413413
414-
**kw : the keyword arguments to `func`
414+
**kw : the keyword arguments to `function`
415415
"""
416416
try:
417417
function(*args, **kwargs)

0 commit comments

Comments
 (0)