We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086bd74 commit d321700Copy full SHA for d321700
tests/integration/test_cubepart.py
@@ -23,7 +23,7 @@ class Test_Slice:
23
"""Integration-test suite for _Slice object."""
24
25
def test_it_provides_values_for_cat_x_mr_x_mr_with_odd_order(self):
26
- transf = {
+ transforms = {
27
"columns_dimension": {
28
"elements": {
29
"2": {"hide": True},
@@ -38,7 +38,7 @@ def test_it_provides_values_for_cat_x_mr_x_mr_with_odd_order(self):
38
},
39
40
}
41
- parts = Cube(CR.CAT_X_MR_X_MR, transforms=transf, population=9001).partitions
+ parts = Cube(CR.CAT_X_MR_X_MR, transforms=transforms).partitions
42
assert len(parts) == 2
43
assert parts[0].column_proportions == pytest.approx(
44
np.array([[0.60553814], [0.10292581], [0.10031348]])
0 commit comments