Skip to content

Commit

Permalink
change log and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nden committed Sep 10, 2023
1 parent e468a69 commit ca72f82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Bug Fixes
- Synchronize ``array_shape`` and ``pixel_shape`` attributes of WCS
objects. [#439]

- Fix failures and warnings woth numpy 2.0. [#472]

other
^^^^^

Expand Down
2 changes: 1 addition & 1 deletion gwcs/converters/tests/test_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _assert_mapper_equal(a, b):

if isinstance(a.mapper, dict):
assert(a.mapper.__class__ == b.mapper.__class__) # nosec
assert(all(np.isin(list(a.mapper), list(b.mapper)))) # nosec
assert(np.isin(list(a.mapper), list(b.mapper)).all()) # nosec
for k in a.mapper:
assert (a.mapper[k].__class__ == b.mapper[k].__class__) # nosec
assert(all(a.mapper[k].parameters == b.mapper[k].parameters)) # nosec
Expand Down

0 comments on commit ca72f82

Please sign in to comment.