Skip to content

Commit d38e072

Browse files
committed
Revert "FIX: Persistence tests failing when using sklearn nightly (skops-dev#260)"
This reverts commit 1b3c674.
1 parent e0833e4 commit d38e072

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

skops/io/tests/_utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,6 @@ def _assert_vals_equal(val1, val2):
126126

127127

128128
def assert_params_equal(params1, params2):
129-
# due to https://github.com/scikit-learn/scikit-learn/pull/22094, after
130-
# loading an sklearn estimator, there might be an entry called
131-
# "__sklearn_pickle_version__" in the __dict__ that wasn't there before. We
132-
# just ignore it.
133-
params1.pop("__sklearn_pickle_version__", None)
134-
params2.pop("__sklearn_pickle_version__", None)
135-
136129
# helper function to compare estimator dictionaries of parameters
137130
assert len(params1) == len(params2)
138131
assert set(params1.keys()) == set(params2.keys())

0 commit comments

Comments
 (0)