Skip to content

Commit bf09a26

Browse files
committed
test/custom: use more classic allocator
1 parent ab9ed33 commit bf09a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/python/test_user_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def test(dtype):
1111
rng = np.random.default_rng()
12-
mat = np.array(np.ones((rows, cols)), dtype=dtype)
12+
mat = np.ones((rows, cols), dtype=dtype)
1313
mat = rng.random((rows, cols)).astype(dtype)
1414
mat_copy = mat.copy()
1515
assert (mat == mat_copy).all()

0 commit comments

Comments
 (0)