We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0833e4 commit d38e072Copy full SHA for d38e072
skops/io/tests/_utils.py
@@ -126,13 +126,6 @@ def _assert_vals_equal(val1, val2):
126
127
128
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
-
136
# helper function to compare estimator dictionaries of parameters
137
assert len(params1) == len(params2)
138
assert set(params1.keys()) == set(params2.keys())
0 commit comments