Skip to content

Commit 577c201

Browse files
committed
avoid conflicting volume orders in unit test
1 parent 8db21d6 commit 577c201

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_mean_estimator_boosting.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def source(volume):
8181

8282

8383
@pytest.fixture(scope="module")
84-
def basis(source):
84+
def basis(resolution, dtype):
8585
# We mask off to pass the existing test levels achieved
8686
# previously with FFB3D (which masks similarly implicitly).
87-
mask = grid_3d(source.L, dtype=source.dtype)["r"] <= 1
88-
return DiracBasis3D(source.L, mask=mask, dtype=source.dtype)
87+
mask = grid_3d(resolution, dtype=dtype)["r"] <= 1
88+
return DiracBasis3D(resolution, mask=mask, dtype=dtype)
8989

9090

9191
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)