Skip to content

Commit 68b0222

Browse files
committed
Fix the test.
1 parent f1f6f1c commit 68b0222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygpu/tests/test_gpu_ndarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_hash():
4949

5050
def test_bool():
5151
for data in [numpy.empty((0, 33)), [[1]], [[0]], [], [0], [1], 0, 1]:
52-
assert bool(pygpu.asarray(data)) == bool(numpy.asarray(data))
52+
assert bool(pygpu.asarray(data, context=ctx)) == bool(numpy.asarray(data))
5353

5454

5555
def test_transfer():

0 commit comments

Comments
 (0)