Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjm97 authored Mar 31, 2024
1 parent 4b926ec commit 824d456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def check_nested_lists(self, results, expected, places=7):
if isinstance(res, (list, np.ndarray)):
check_nested_lists(self, res, exp, places)
else:
t = (int, float, np.int64, np.float)
t = (int, float, np.int64, np.float64)
err = f'Result {res} of type {type(res)} and expected {exp} of type {type(exp)}'
assert isinstance(res, t) and isinstance(exp, t), err
self.assertAlmostEqual(res, exp, places)
Expand Down

0 comments on commit 824d456

Please sign in to comment.