Skip to content

Commit

Permalink
Merge pull request #7697 from nicoddemus/file-docs
Browse files Browse the repository at this point in the history
(cherry picked from commit 21aa6c4)
  • Loading branch information
nicoddemus authored and bluetech committed Sep 4, 2020
1 parent e9d18bd commit cb91c50
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 cb91c50

Please sign in to comment.