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
2 changes: 0 additions & 2 deletions doc/en/capture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion doc/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
# 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/*",
Expand Down
2 changes: 0 additions & 2 deletions doc/en/existingtestsuite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion doc/en/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions doc/en/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions doc/en/goodpractices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
22 changes: 0 additions & 22 deletions doc/en/links.inc

This file was deleted.

4 changes: 2 additions & 2 deletions doc/en/nose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
Running tests written for nose
=======================================

.. include:: links.inc

``pytest`` has basic support for running tests written for nose_.

.. _nosestyle:
Expand Down Expand Up @@ -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/
3 changes: 1 addition & 2 deletions doc/en/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/