reword a parametrize example sentence (#5745)

reword a parametrize example sentence
This commit is contained in:
Bruno Oliveira 2019-08-15 14:00:30 -03:00 committed by GitHub
commit ac052a98ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ Deferring the setup of parametrized resources
The parametrization of test functions happens at collection The parametrization of test functions happens at collection
time. It is a good idea to setup expensive resources like DB time. It is a good idea to setup expensive resources like DB
connections or subprocess only when the actual test is run. connections or subprocess only when the actual test is run.
Here is a simple example how you can achieve that, first Here is a simple example how you can achieve that. This test
the actual test requiring a ``db`` object: requires a ``db`` object fixture:
.. code-block:: python .. code-block:: python