Skip to content

Commit 80ec85a

Browse files
committed
Read only input checks in common tests
1 parent d4e9d79 commit 80ec85a

File tree

3 files changed

+215
-28
lines changed

3 files changed

+215
-28
lines changed

sklearn/tests/test_common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from sklearn.linear_model.base import LinearClassifierMixin
2727
from sklearn.utils.estimator_checks import (
2828
_yield_all_checks,
29+
_clear_temp_memory,
2930
CROSS_DECOMPOSITION,
3031
check_parameters_default_constructible,
3132
check_class_weight_balanced_linear_classifier,
@@ -73,6 +74,8 @@ def test_non_meta_estimators():
7374
yield check, name, Estimator
7475
else:
7576
yield check, name, Estimator
77+
_clear_temp_memory(warn=False)
78+
7679

7780
def test_configure():
7881
# Smoke test the 'configure' step of setup, this tests all the

0 commit comments

Comments
 (0)