Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions doc/en/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -784,12 +784,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
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,10 @@ def isinitpath(self, path: py.path.local) -> bool:


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