File tree 1 file changed +12
-0
lines changed 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,18 @@ been executed, which could result in a broken test-suite anyway. In
210
210
case of doubt the thread method which terminates the entire process
211
211
might result in clearer output.
212
212
213
+ Avoiding timeouts in Fixtures
214
+ =============================
215
+
216
+ The timeout applies to the entire test including any fixtures which
217
+ may need to be setup or torn down for the test (the exact affected
218
+ fixtures depends on which scope they are and whether other tests will
219
+ still use the same fixture). If the timeouts really are too short to
220
+ include fixture durations, firstly make the timeouts larger ;). If
221
+ this really isn't an option a `timeout_func_only ` boolean setting
222
+ exists which can be set in the pytest ini configuration file, as
223
+ documented in `pytest --help `.
224
+
213
225
214
226
Debugger Detection
215
227
==================
You can’t perform that action at this time.
0 commit comments