File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,10 @@ def test_applycutoff_range1(self):
105105 self .test_gui .qminentry .insert (0 , "10" )
106106 self .test_gui .qmaxentry .insert (0 , "40" )
107107
108- # when
108+ # surpressed RuntimeWarning so warning isn't generated when test encounters slice of all NaNs
109109 with warnings .catch_warnings ():
110110 warnings .simplefilter ("ignore" , category = RuntimeWarning )
111+ # when
111112 self .test_gui .applycutoff ()
112113 result = self .test_gui .cube
113114
@@ -124,6 +125,7 @@ def test_applycutoff_range2(self):
124125 # surpressed RuntimeWarning so warning isn't generated when test encounters slice of all NaNs
125126 with warnings .catch_warnings ():
126127 warnings .simplefilter ("ignore" , category = RuntimeWarning )
128+ # when
127129 self .test_gui .applycutoff ()
128130 result = self .test_gui .cube
129131
You can’t perform that action at this time.
0 commit comments