Merge pull request #7716 from bluetech/backport-7697

[6.0.x] Add missing File reference to the docs
This commit is contained in:
Ran Benita 2020-09-04 21:52:51 +03:00 committed by GitHub
commit f4f30d7073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -783,12 +783,19 @@ ExceptionInfo
:members:
pytest.ExitCode
~~~~~~~~~~~~~~~
ExitCode
~~~~~~~~
.. autoclass:: _pytest.config.ExitCode
:members:
File
~~~~
.. autoclass:: _pytest.nodes.File()
:members:
:show-inheritance:
FixtureDef
~~~~~~~~~~

View File

@ -604,7 +604,10 @@ class FSCollector(Collector):
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):