From e91e8bbcd0b49befb715c29dc78fb170df134ae8 Mon Sep 17 00:00:00 2001
From: Alex Wernle <awernle@usgs.gov>
Date: Tue, 1 Nov 2022 15:50:46 -0600
Subject: [PATCH] Fixed test_gaps function

---
 test/algorithm_test/AverageAlgorithm_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/algorithm_test/AverageAlgorithm_test.py b/test/algorithm_test/AverageAlgorithm_test.py
index 43cd48d00..88ca37e0d 100644
--- a/test/algorithm_test/AverageAlgorithm_test.py
+++ b/test/algorithm_test/AverageAlgorithm_test.py
@@ -80,8 +80,8 @@ def test_gaps():
     # Run timeseries through the average process
     outstream = alg.process(timeseries)
 
-    # The gaps should not be changed and should remain 'nan'
-    assert_array_equal(outstream[0].data, [1, 1, np.nan, np.nan, 1, 1])
+    # The gaps should not be ignored
+    assert_array_equal(outstream[0].data, [1, 1, 1, 1, 1, 1])
 
 
 def test_metadata():
-- 
GitLab