Skip to content

Commit ba44e7b

Browse files
Joe Jevnikamueller
authored andcommitted
COMPAT: Makes test_function_transformer py2 compatible.
1 parent 9d14f73 commit ba44e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/preprocessing/tests/test_function_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_delegate_to_func():
4343
)
4444

4545
# reset the argument stores.
46-
args_store.clear()
46+
args_store[:] = [] # python2 compatible inplace list clear.
4747
kwargs_store.clear()
4848
y = object()
4949

0 commit comments

Comments
 (0)