changed assert check
@@ -464,8 +464,7 @@ class FilterTest():
im = self.im[:50, :50, :50]
result_bool = ps.filters.hold_peaks(im, axis=0)
result_float = ps.filters.hold_peaks(im.astype(float), axis=0)
- comparison = result_bool == result_float
- assert comparison.all() == True
+ assert np.all(result_bool == result_float)
if __name__ == '__main__':
