Skip to content

Commit 142b4fa

Browse files
committed
Add random_tests/test_init.py
1 parent fa270d3 commit 142b4fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pytest
2+
3+
import dpnp as cupy
4+
5+
6+
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
7+
def test_bytes():
8+
out = cupy.random.bytes(10)
9+
assert isinstance(out, bytes)

0 commit comments

Comments
 (0)