We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f6f1c commit 68b0222Copy full SHA for 68b0222
pygpu/tests/test_gpu_ndarray.py
@@ -49,7 +49,7 @@ def test_hash():
49
50
def test_bool():
51
for data in [numpy.empty((0, 33)), [[1]], [[0]], [], [0], [1], 0, 1]:
52
- assert bool(pygpu.asarray(data)) == bool(numpy.asarray(data))
+ assert bool(pygpu.asarray(data, context=ctx)) == bool(numpy.asarray(data))
53
54
55
def test_transfer():
0 commit comments