Skip to content

Commit d321700

Browse files
little tweak on test
1 parent 086bd74 commit d321700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_cubepart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Test_Slice:
2323
"""Integration-test suite for _Slice object."""
2424

2525
def test_it_provides_values_for_cat_x_mr_x_mr_with_odd_order(self):
26-
transf = {
26+
transforms = {
2727
"columns_dimension": {
2828
"elements": {
2929
"2": {"hide": True},
@@ -38,7 +38,7 @@ def test_it_provides_values_for_cat_x_mr_x_mr_with_odd_order(self):
3838
},
3939
},
4040
}
41-
parts = Cube(CR.CAT_X_MR_X_MR, transforms=transf, population=9001).partitions
41+
parts = Cube(CR.CAT_X_MR_X_MR, transforms=transforms).partitions
4242
assert len(parts) == 2
4343
assert parts[0].column_proportions == pytest.approx(
4444
np.array([[0.60553814], [0.10292581], [0.10031348]])

0 commit comments

Comments
 (0)