docs: remove doc/en/links.inc (#6853)

This commit is contained in:
Daniel Hahler 2020-03-06 03:11:24 +01:00 committed by GitHub
parent 19bb2c6235
commit 9e8540f25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 7 additions and 36 deletions

View File

@ -168,5 +168,3 @@ as a context manager, disabling capture inside the ``with`` block:
with capsys.disabled():
print("output not captured, going directly to sys.stdout")
print("this output is also captured")
.. include:: links.inc

View File

@ -83,7 +83,6 @@ copyright = "20152020, holger krekel and pytest-dev team"
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = [
"links.inc",
"_build",
"naming20.rst",
"test/*",

View File

@ -32,5 +32,3 @@ reinstall every time you want to run your tests, and is less brittle than
mucking about with sys.path to point your tests at local code.
Also consider using :ref:`tox <use tox>`.
.. include:: links.inc

View File

@ -153,4 +153,6 @@ As of mid-2013, there shouldn't be a problem anymore when you
use the standard setuptools (note that distribute has been merged
back into setuptools which is now shipped directly with virtualenv).
.. include:: links.inc
.. _nose: https://nose.readthedocs.io/en/latest/
.. _pylib: https://py.readthedocs.io/en/latest/
.. _`xUnit style setup`: xunit_setup.html

View File

@ -203,5 +203,3 @@ Check out additional pytest resources to help you customize tests for your uniqu
* ":ref:`fixtures`" for providing a functional baseline to your tests
* ":ref:`plugins`" for managing and writing plugins
* ":ref:`goodpractices`" for virtualenv and test layouts
.. include:: links.inc

View File

@ -232,5 +232,4 @@ options. It will run tests against the installed package and not
against your source code checkout, helping to detect packaging
glitches.
.. include:: links.inc
.. _`venv`: https://docs.python.org/3/library/venv.html

View File

@ -1,22 +0,0 @@
.. _`skipping plugin`: plugin/skipping.html
.. _`funcargs mechanism`: funcargs.html
.. _`doctest.py`: http://docs.python.org/library/doctest.html
.. _`xUnit style setup`: xunit_setup.html
.. _`pytest_nose`: plugin/nose.html
.. _`reStructured Text`: http://docutils.sourceforge.net
.. _`Python debugger`: http://docs.python.org/lib/module-pdb.html
.. _nose: https://nose.readthedocs.io/en/latest/
.. _pytest: https://pypi.org/project/pytest/
.. _mercurial: http://mercurial.selenic.com/wiki/
.. _`setuptools`: https://pypi.org/project/setuptools/
.. _`easy_install`:
.. _`distribute docs`:
.. _`distribute`: https://pypi.org/project/distribute/
.. _`pip`: https://pypi.org/project/pip/
.. _`venv`: https://docs.python.org/3/library/venv.html
.. _`virtualenv`: https://pypi.org/project/virtualenv/
.. _hudson: http://hudson-ci.org/
.. _jenkins: http://jenkins-ci.org/
.. _tox: http://testrun.org/tox
.. _pylib: https://py.readthedocs.io/en/latest/

View File

@ -3,8 +3,6 @@
Running tests written for nose
=======================================
.. include:: links.inc
``pytest`` has basic support for running tests written for nose_.
.. _nosestyle:
@ -72,3 +70,5 @@ Unsupported idioms / known issues
There are no plans to fix this currently because ``yield``-tests
are deprecated in pytest 3.0, with ``pytest.mark.parametrize``
being the recommended alternative.
.. _nose: https://nose.readthedocs.io/en/latest/

View File

@ -831,5 +831,4 @@ hook was invoked:
multiple calls to ``pytest.main()`` from the same process (in order to re-run
tests, for example) is not recommended.
.. include:: links.inc
.. _jenkins: http://jenkins-ci.org/