Skip to content

Commit

Permalink
Merge pull request #597 from Sideboard/fix-numpy1.24-obsolete-error
Browse files Browse the repository at this point in the history
Fix: obsolete entities for numpy 1.24
  • Loading branch information
jameskermode authored Jun 13, 2023
2 parents e298d71 + 96a2866 commit ad0e58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def test_convert_add_arrays_bool(self):
def test_convert_add_arrays_unsupported_types(self):
# setup of a separate atoms for this test
at = self.at_base.copy()
at.arrays.update(dummy_obj_2d=np.zeros((3, 4), dtype=np.object),
dummy_cplx_2d=np.zeros((3, 4), dtype=np.complex),
at.arrays.update(dummy_obj_2d=np.zeros((3, 4), dtype=object),
dummy_cplx_2d=np.zeros((3, 4), dtype=complex),
dummy_void_2d=np.zeros((3, 4), dtype=np.void))

# all should raise an error, the
Expand Down

0 comments on commit ad0e58d

Please sign in to comment.