Skip to content

Instantly share code, notes, and snippets.

@pitrou
Created October 20, 2015 15:14
Show Gist options
  • Save pitrou/eb3aec3265e091cc2fa2 to your computer and use it in GitHub Desktop.
Save pitrou/eb3aec3265e091cc2fa2 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_set_a (numba.cuda.tests.cudapy.test_record_dtype.TestRecordDtypeWithStructArrays)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 144, in test_set_a
self._test_set_equal(set_a, 3.1415, types.float64)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 138, in _test_set_equal
pyfunc(expect, i, value)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 12, in set_a
ary[i].a = v
AttributeError: 'numpy.void' object has no attribute 'a'
======================================================================
ERROR: test_set_b (numba.cuda.tests.cudapy.test_record_dtype.TestRecordDtypeWithStructArrays)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 149, in test_set_b
self._test_set_equal(set_b, 123, types.int32)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 138, in _test_set_equal
pyfunc(expect, i, value)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 16, in set_b
ary[i].b = v
AttributeError: 'numpy.void' object has no attribute 'b'
======================================================================
ERROR: test_set_c (numba.cuda.tests.cudapy.test_record_dtype.TestRecordDtypeWithStructArrays)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 154, in test_set_c
self._test_set_equal(set_c, 43j, types.complex64)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 138, in _test_set_equal
pyfunc(expect, i, value)
File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 20, in set_c
ary[i].c = v
AttributeError: 'numpy.void' object has no attribute 'c'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment