Doc: Move the module declaration to index.rst

When the declaration stays in reference.rst, it creates duplicated
"pytest" symbols such as `pytest.pytest.mark.filterwarnings`.
This commit is contained in:
Hong Xu 2021-01-26 00:48:01 -08:00
parent 781b73bb52
commit 8bb3977cb6
2 changed files with 1 additions and 2 deletions

View File

@ -11,6 +11,7 @@
pytest: helps you write better programs pytest: helps you write better programs
======================================= =======================================
.. module:: pytest
The ``pytest`` framework makes it easy to write small tests, yet The ``pytest`` framework makes it easy to write small tests, yet
scales to support complex functional testing for applications and libraries. scales to support complex functional testing for applications and libraries.

View File

@ -3,8 +3,6 @@
API Reference API Reference
============= =============
.. module:: pytest
This page contains the full reference to pytest's API. This page contains the full reference to pytest's API.
.. contents:: .. contents::