Skip to content

Commit

Permalink
Merge pull request #7716 from bluetech/backport-7697
Browse files Browse the repository at this point in the history
[6.0.x] Add missing File reference to the docs
  • Loading branch information
bluetech committed Sep 4, 2020
2 parents 309810a + cb91c50 commit f4f30d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 9 additions & 2 deletions doc/en/reference.rst
Expand Up @@ -783,12 +783,19 @@ ExceptionInfo
:members:


pytest.ExitCode
~~~~~~~~~~~~~~~
ExitCode
~~~~~~~~

.. autoclass:: _pytest.config.ExitCode
:members:

File
~~~~

.. autoclass:: _pytest.nodes.File()
:members:
:show-inheritance:


FixtureDef
~~~~~~~~~~
Expand Down
5 changes: 4 additions & 1 deletion src/_pytest/nodes.py
Expand Up @@ -604,7 +604,10 @@ def _collectfile(


class File(FSCollector):
""" base class for collecting tests from a file. """
"""Base class for collecting tests from a file.
:ref:`non-python tests`.
"""


class Item(Node):
Expand Down

0 comments on commit f4f30d7

Please sign in to comment.