From 2adbd601e4e02dba33dbd59eda63ca3d29845802 Mon Sep 17 00:00:00 2001 From: arigdon-usgs <arigdon@usgs.gov> Date: Thu, 26 Jul 2018 14:10:51 -0600 Subject: [PATCH] same fix as earlier to the logic --- test/algorithm_test/XYZAlgorithm_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/algorithm_test/XYZAlgorithm_test.py b/test/algorithm_test/XYZAlgorithm_test.py index 0102f9068..8d0857447 100644 --- a/test/algorithm_test/XYZAlgorithm_test.py +++ b/test/algorithm_test/XYZAlgorithm_test.py @@ -54,7 +54,7 @@ def test_xyzalgorithm_limited_channels(): # d has `count` values (same as input) assert_equals(len(d.data), count) # d has no NaN values - assert_equals(len(d[d == np.NaN]), 0) + assert_equals(np.isnan(d).any(), False) def test_xyzalgorithm_uneccesary_channel_empty(): -- GitLab