diff --git a/doc/en/reference.rst b/doc/en/reference.rst index eb2370ae48d..313c76c4c86 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -784,12 +784,19 @@ ExceptionInfo :members: -pytest.ExitCode -~~~~~~~~~~~~~~~ +ExitCode +~~~~~~~~ .. autoclass:: _pytest.config.ExitCode :members: +File +~~~~ + +.. autoclass:: _pytest.nodes.File() + :members: + :show-inheritance: + FixtureDef ~~~~~~~~~~ diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 26fab67fe68..5dde4c7370e 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -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):