Skip to content

Commit

Permalink
test: ✅ Add np.int64 for converting to int
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselmoo committed Jan 21, 2024
1 parent de31dc5 commit 487c52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectrafit/test/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def test_transform_numpy_dictionary() -> None:
{"a": {"b": np.int32(1)}, "c": np.float64(2.0)}
) == {"a": {"b": 1}, "c": 2.0}
assert transform_numpy_dictionary(
{"a": 1, "b": [np.int32(2)], "c": np.float64(3.0)}
{"a": 1, "b": [np.int64(2)], "c": np.float64(3.0)}
) == {
"a": 1,
"b": [2],
Expand Down

0 comments on commit 487c52a

Please sign in to comment.