File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,9 @@ def stopForInteraction(self):
154
154
tests.
155
155
156
156
Closing the windows should resume the test run, with ``qtbot`` attempting to restore visibility
157
- of the widgets as they were before this call.
157
+ of the widgets as they were before this call.
158
+
159
+ .. note:: as a convenience, `stop` and `stopForInteraction` are aliases.
158
160
'''
159
161
widget_visibility = [widget .isVisible () for widget in self ._widgets ]
160
162
@@ -165,6 +167,9 @@ def stopForInteraction(self):
165
167
widget .setVisible (visible )
166
168
167
169
170
+ stop = stopForInteraction
171
+
172
+
168
173
#===================================================================================================
169
174
# pytest_configure
170
175
#===================================================================================================
You can’t perform that action at this time.
0 commit comments