diff --git a/tests/_standardizers.py b/tests/test_standardizers.py similarity index 74% rename from tests/_standardizers.py rename to tests/test_standardizers.py index 0eea9d2..4789246 100644 --- a/tests/_standardizers.py +++ b/tests/test_standardizers.py @@ -31,14 +31,3 @@ def test_inverse_transform(features_dataset): for var in features_dataset.data_vars ) assert all(var in inv_ds.data_vars for var in features_dataset.data_vars) - - -def test_serialization(features_dataset, tmp_path): - fn = f"{tmp_path}/standardizer.json" - standardizer = Standardizer(fillvalue=-5) - standardizer.fit(features_dataset) - standardizer.save_json(fn) - new_standardizer = Standardizer.from_json(fn) - assert standardizer.fillvalue == new_standardizer.fillvalue - assert standardizer.mean.identical(new_standardizer.mean) - assert standardizer.std.identical(new_standardizer.std)