Skip to content

Commit 1049a38

Browse files
committed
Fix wording as suggested in review of #5741
1 parent d7f0825 commit 1049a38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/en/skipping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Skipping on a missing import dependency
180180
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181181

182182
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.
184184

185185
.. code-block:: python
186186

src/_pytest/outcomes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def importorskip(
161161
current test if the module cannot be imported.
162162
163163
: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__``
165165
attribute must be at least this minimal version, otherwise the test is
166166
still skipped.
167167
:param str reason: if given, this reason is shown as the message when the

src/_pytest/pytester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def mkpydir(self, name):
632632
def copy_example(self, name=None):
633633
"""Copy file from project's directory into the testdir.
634634
635-
:param str name: The name of the file for copy.
635+
:param str name: The name of the file to copy.
636636
:return: path to the copied directory (inside ``self.tmpdir``).
637637
638638
"""

0 commit comments

Comments
 (0)