Skip to content

Commit 4b551bc

Browse files
committed
add comment to other test
1 parent d371bfe commit 4b551bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)