Skip to content

Commit eaccd53

Browse files
committed
Shaving test suite run time by a little bit
1 parent fcb9efa commit eaccd53

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/ndarray/test_concat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
([21, 121, 101, 10], [2, 121, 101, 10], "f4", 0),
3232
([121, 21, 101, 10], [121, 12, 101, 10], "i8", 1),
3333
([121, 121, 10, 10], [121, 121, 1, 10], "i8", 2),
34-
([121, 121, 101, 2], [121, 121, 101, 10], "i8", -1),
34+
([121, 121, 101, 2], [121, 121, 101, 5], "i8", -1),
3535
],
3636
)
3737
def test_concat2(shape1, shape2, dtype, axis):
@@ -56,7 +56,7 @@ def test_concat2(shape1, shape2, dtype, axis):
5656
([21, 121, 101, 10], [2, 121, 101, 10], [1, 121, 101, 10], "f4", 0),
5757
([121, 21, 101, 10], [121, 12, 101, 10], [121, 1, 101, 10], "i8", 1),
5858
([121, 121, 10, 10], [121, 121, 1, 10], [121, 121, 3, 10], "i8", 2),
59-
([121, 121, 101, 2], [121, 121, 101, 10], [121, 121, 101, 1], "i8", -1),
59+
([121, 121, 101, 2], [121, 121, 101, 5], [121, 121, 101, 1], "i8", -1),
6060
],
6161
)
6262
def test_concat3(shape1, shape2, shape3, dtype, axis):

tests/ndarray/test_full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def test_complex_datatype():
223223
("f_022", "<U1000"),
224224
]
225225
)
226-
a = np.zeros((256,), dtype=dtype)
226+
a = np.zeros((16,), dtype=dtype)
227227
cparams = blosc2.CParams(codec=blosc2.Codec.BLOSCLZ, clevel=1, nthreads=3)
228228
b = blosc2.asarray(a, cparams=cparams, urlpath="b.b2nd", mode="w")
229229
# Iterate over the fields of the structured array and check that the data is the same

0 commit comments

Comments
 (0)