File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Skipping on a missing import dependency
180
180
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181
181
182
182
You can skip tests on a missing import by using :ref: `pytest.importorskip ref `
183
- at module level or within a test or test setup function.
183
+ at module level, within a test, or test setup function.
184
184
185
185
.. code-block :: python
186
186
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def importorskip(
161
161
current test if the module cannot be imported.
162
162
163
163
:param str modname: the name of the module to import
164
- :param str minversion: if given, the imported module ``__version__``
164
+ :param str minversion: if given, the imported module's ``__version__``
165
165
attribute must be at least this minimal version, otherwise the test is
166
166
still skipped.
167
167
:param str reason: if given, this reason is shown as the message when the
Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ def mkpydir(self, name):
632
632
def copy_example (self , name = None ):
633
633
"""Copy file from project's directory into the testdir.
634
634
635
- :param str name: The name of the file for copy.
635
+ :param str name: The name of the file to copy.
636
636
:return: path to the copied directory (inside ``self.tmpdir``).
637
637
638
638
"""
You can’t perform that action at this time.
0 commit comments