Build: #1 failed
Job: Test tools RHEL7 failed
Ia fromarray test.test fromarray: Test case result
The below summarizes the result of the test "Ia fromarray test.test fromarray" in build 1 of CASA - Casa 6 Dev Test Full - CAS-13906 - Test tools RHEL7.
- Description
- Ia fromarray test.test fromarray
- Test class
- test_tool_image
- Method
- ia_fromarray_test.test_fromarray
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
AttributeError: module 'numpy' has no attribute 'complex'.
`np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
test_tool_image.py:1875: in test_fromarray
ar2 = np.zeros([4, 4], np.complex)
/usr/local/lib/python3.8/site-packages/numpy/__init__.py:305: in __getattr__
raise AttributeError(__former_attrs__[attr])
E AttributeError: module 'numpy' has no attribute 'complex'.
E `np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
E The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations