tests: np.alltrue replaced by np.all.

This commit is contained in:
Fabian Joswig 2023-05-30 12:52:10 +01:00
parent 0535af992d
commit 2acaf1b5db
No known key found for this signature in database

View file

@ -1096,7 +1096,7 @@ def test_reduce_deltas():
for idx_new in idl:
new = pe.obs._reduce_deltas(deltas, idx_old, idx_new)
print(new)
assert(np.alltrue([float(i) for i in idx_new] == new))
assert(np.all([float(i) for i in idx_new] == new))
def test_cobs_array():