Skip to content

Commit 243b1b3

Browse files
authored
Update for cfdm issue 414
1 parent ffbef45 commit 243b1b3

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

cf/test/test_dsg.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,10 @@ def test_DSG_contiguous(self):
181181
# ------------------------------------------------------------
182182
# Test creation
183183
# ------------------------------------------------------------
184-
# Define the ragged array values
185-
ragged_array = numpy.array(
186-
[280, 282.5, 281, 279, 278, 279.5], dtype="float32"
184+
ragged_array = cf.Data(
185+
np.array([280, 282.5, 281, 279, 278, 279.5], dtype="float32")
187186
)
188-
187+
189188
# Define the count array values
190189
count_array = [2, 4]
191190

0 commit comments

Comments
 (0)