@@ -105,8 +105,9 @@ def test_applycutoff_range1(self):
105105 self .test_gui .qminentry .insert (0 , "10" )
106106 self .test_gui .qmaxentry .insert (0 , "40" )
107107
108- # Desired behavior is nans in the arrays below qmin and above qmax. As a result, np.nanmax will generate runtimewarnings when it
109- # encounters slices that are all nans. capture these so tests pass cleanly without warnings
108+ # Desired behavior is nans in the arrays below qmin and above qmax. As a result, np.nanmax will generate
109+ # runtimewarnings when it # encounters slices that are all nans. capture these so tests pass cleanly
110+ # without warnings
110111 with warnings .catch_warnings ():
111112 warnings .simplefilter ("ignore" , category = RuntimeWarning )
112113 # when
@@ -123,8 +124,9 @@ def test_applycutoff_range2(self):
123124 self .test_gui .qminentry .insert (0 , "15" )
124125 self .test_gui .qmaxentry .insert (0 , "35" )
125126
126- # Desired behavior is nans in the arrays below qmin and above qmax. As a result, np.nanmax will generate runtimewarnings when it
127- # encounters slices that are all nans. capture these so tests pass cleanly without warnings
127+ # Desired behavior is nans in the arrays below qmin and above qmax. As a result, np.nanmax will generate
128+ # runtimewarnings when it # encounters slices that are all nans. capture these so tests pass cleanly
129+ # without warnings
128130 with warnings .catch_warnings ():
129131 warnings .simplefilter ("ignore" , category = RuntimeWarning )
130132 # when
0 commit comments