File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 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
210210case of doubt the thread method which terminates the entire process
211211might result in clearer output.
212212
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+
213225
214226Debugger Detection
215227==================
You can’t perform that action at this time.
0 commit comments