From 6891868af95fca092589f979888784dc69e2eadd Mon Sep 17 00:00:00 2001 From: David Gardner Date: Fri, 12 Jan 2024 12:28:52 -0800 Subject: [PATCH] Fix fixture names --- tests/dfencoder/test_scalers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dfencoder/test_scalers.py b/tests/dfencoder/test_scalers.py index a9af2cf067..7166a88e67 100644 --- a/tests/dfencoder/test_scalers.py +++ b/tests/dfencoder/test_scalers.py @@ -33,14 +33,14 @@ def tensor_fixture(): yield torch.tensor([7.4, 8.3, 9.5], dtype=torch.float32) -@pytest.fixture(name="standard_scalar", scope="function") +@pytest.fixture(name="standard_scaler", scope="function") def standard_scaler_fixture(fit_tensor): scaler = scalers.StandardScaler() scaler.fit(fit_tensor) yield scaler -@pytest.fixture(name="modified_scalar", scope="function") +@pytest.fixture(name="modified_scaler", scope="function") def modified_scaler_fixture(fit_tensor): scaler = scalers.ModifiedScaler() scaler.fit(fit_tensor)