Skip to content

Commit 157515f

Browse files
authored
Fix/Remove broken links (#5613)
Fix/Remove broken links
2 parents 183750f + 1e34734 commit 157515f

File tree

11 files changed

+30
-37
lines changed

11 files changed

+30
-37
lines changed

CHANGELOG.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,10 +2173,10 @@ Features
21732173
design. This introduces new ``Node.iter_markers(name)`` and
21742174
``Node.get_closest_marker(name)`` APIs. Users are **strongly encouraged** to
21752175
read the `reasons for the revamp in the docs
2176-
<https://docs.pytest.org/en/latest/mark.html#marker-revamp-and-iteration>`_,
2176+
<https://docs.pytest.org/en/latest/historical-notes.html#marker-revamp-and-iteration>`_,
21772177
or jump over to details about `updating existing code to use the new APIs
2178-
<https://docs.pytest.org/en/latest/mark.html#updating-code>`_. (`#3317
2179-
<https://github.com/pytest-dev/pytest/issues/3317>`_)
2178+
<https://docs.pytest.org/en/latest/historical-notes.html#updating-code>`_.
2179+
(`#3317 <https://github.com/pytest-dev/pytest/issues/3317>`_)
21802180

21812181
- Now when ``@pytest.fixture`` is applied more than once to the same function a
21822182
``ValueError`` is raised. This buggy behavior would cause surprising problems
@@ -2582,10 +2582,10 @@ Features
25822582
<https://github.com/pytest-dev/pytest/issues/3038>`_)
25832583

25842584
- New `pytest_runtest_logfinish
2585-
<https://docs.pytest.org/en/latest/writing_plugins.html#_pytest.hookspec.pytest_runtest_logfinish>`_
2585+
<https://docs.pytest.org/en/latest/reference.html#_pytest.hookspec.pytest_runtest_logfinish>`_
25862586
hook which is called when a test item has finished executing, analogous to
25872587
`pytest_runtest_logstart
2588-
<https://docs.pytest.org/en/latest/writing_plugins.html#_pytest.hookspec.pytest_runtest_start>`_.
2588+
<https://docs.pytest.org/en/latest/reference.html#_pytest.hookspec.pytest_runtest_logstart>`_.
25892589
(`#3101 <https://github.com/pytest-dev/pytest/issues/3101>`_)
25902590

25912591
- Improve performance when collecting tests using many fixtures. (`#3107
@@ -3575,7 +3575,7 @@ Bug Fixes
35753575
Thanks `@sirex`_ for the report and `@nicoddemus`_ for the PR.
35763576

35773577
* Replace ``raise StopIteration`` usages in the code by simple ``returns`` to finish generators, in accordance to `PEP-479`_ (`#2160`_).
3578-
Thanks `@tgoodlet`_ for the report and `@nicoddemus`_ for the PR.
3578+
Thanks to `@nicoddemus`_ for the PR.
35793579

35803580
* Fix internal errors when an unprintable ``AssertionError`` is raised inside a test.
35813581
Thanks `@omerhadari`_ for the PR.
@@ -3706,7 +3706,7 @@ Bug Fixes
37063706

37073707
.. _@syre: https://github.com/syre
37083708
.. _@adler-j: https://github.com/adler-j
3709-
.. _@d-b-w: https://bitbucket.org/d-b-w/
3709+
.. _@d-b-w: https://github.com/d-b-w
37103710
.. _@DuncanBetts: https://github.com/DuncanBetts
37113711
.. _@dupuy: https://bitbucket.org/dupuy/
37123712
.. _@kerrick-lyft: https://github.com/kerrick-lyft
@@ -3766,7 +3766,7 @@ Bug Fixes
37663766

37673767
.. _@adborden: https://github.com/adborden
37683768
.. _@cwitty: https://github.com/cwitty
3769-
.. _@d_b_w: https://github.com/d_b_w
3769+
.. _@d_b_w: https://github.com/d-b-w
37703770
.. _@gdyuldin: https://github.com/gdyuldin
37713771
.. _@matclab: https://github.com/matclab
37723772
.. _@MSeifert04: https://github.com/MSeifert04
@@ -3801,7 +3801,7 @@ Bug Fixes
38013801
Thanks `@axil`_ for the PR.
38023802

38033803
* Explain a bad scope value passed to ``@fixture`` declarations or
3804-
a ``MetaFunc.parametrize()`` call. Thanks `@tgoodlet`_ for the PR.
3804+
a ``MetaFunc.parametrize()`` call.
38053805

38063806
* This version includes ``pluggy-0.4.0``, which correctly handles
38073807
``VersionConflict`` errors in plugins (`#704`_).
@@ -3811,7 +3811,6 @@ Bug Fixes
38113811
.. _@philpep: https://github.com/philpep
38123812
.. _@raquel-ucl: https://github.com/raquel-ucl
38133813
.. _@axil: https://github.com/axil
3814-
.. _@tgoodlet: https://github.com/tgoodlet
38153814
.. _@vlad-dragos: https://github.com/vlad-dragos
38163815

38173816
.. _#1853: https://github.com/pytest-dev/pytest/issues/1853
@@ -4157,7 +4156,7 @@ time or change existing behaviors in order to make them less surprising/more use
41574156
* Updated docstrings with a more uniform style.
41584157

41594158
* Add stderr write for ``pytest.exit(msg)`` during startup. Previously the message was never shown.
4160-
Thanks `@BeyondEvil`_ for reporting `#1210`_. Thanks to `@JonathonSonesen`_ and
4159+
Thanks `@BeyondEvil`_ for reporting `#1210`_. Thanks to `@jgsonesen`_ and
41614160
`@tomviner`_ for the PR.
41624161

41634162
* No longer display the incorrect test deselection reason (`#1372`_).
@@ -4205,7 +4204,7 @@ time or change existing behaviors in order to make them less surprising/more use
42054204
Thanks to `@Stranger6667`_ for the PR.
42064205

42074206
* Fixed the total tests tally in junit xml output (`#1798`_).
4208-
Thanks to `@cryporchild`_ for the PR.
4207+
Thanks to `@cboelsen`_ for the PR.
42094208

42104209
* Fixed off-by-one error with lines from ``request.node.warn``.
42114210
Thanks to `@blueyed`_ for the PR.
@@ -4278,7 +4277,7 @@ time or change existing behaviors in order to make them less surprising/more use
42784277
.. _@BeyondEvil: https://github.com/BeyondEvil
42794278
.. _@blueyed: https://github.com/blueyed
42804279
.. _@ceridwen: https://github.com/ceridwen
4281-
.. _@cryporchild: https://github.com/cryporchild
4280+
.. _@cboelsen: https://github.com/cboelsen
42824281
.. _@csaftoiu: https://github.com/csaftoiu
42834282
.. _@d6e: https://github.com/d6e
42844283
.. _@davehunt: https://github.com/davehunt
@@ -4289,7 +4288,7 @@ time or change existing behaviors in order to make them less surprising/more use
42894288
.. _@gprasad84: https://github.com/gprasad84
42904289
.. _@graingert: https://github.com/graingert
42914290
.. _@hartym: https://github.com/hartym
4292-
.. _@JonathonSonesen: https://github.com/JonathonSonesen
4291+
.. _@jgsonesen: https://github.com/jgsonesen
42934292
.. _@kalekundert: https://github.com/kalekundert
42944293
.. _@kvas-it: https://github.com/kvas-it
42954294
.. _@marscher: https://github.com/marscher
@@ -4426,7 +4425,7 @@ time or change existing behaviors in order to make them less surprising/more use
44264425

44274426
**Changes**
44284427

4429-
* **Important**: `py.code <https://pylib.readthedocs.io/en/latest/code.html>`_ has been
4428+
* **Important**: `py.code <https://pylib.readthedocs.io/en/stable/code.html>`_ has been
44304429
merged into the ``pytest`` repository as ``pytest._code``. This decision
44314430
was made because ``py.code`` had very few uses outside ``pytest`` and the
44324431
fact that it was in a different repository made it difficult to fix bugs on

doc/en/adopt.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ The ideal pytest helper
2424
- feels confident in using pytest (e.g. has explored command line options, knows how to write parametrized tests, has an idea about conftest contents)
2525
- does not need to be an expert in every aspect!
2626

27-
`Pytest helpers, sign up here`_! (preferably in February, hard deadline 22 March)
27+
Pytest helpers, sign up here! (preferably in February, hard deadline 22 March)
2828

2929

30-
.. _`Pytest helpers, sign up here`: http://goo.gl/forms/nxqAhqWt1P
31-
3230

3331
The ideal partner project
3432
-----------------------------------------
@@ -40,10 +38,8 @@ The ideal partner project
4038
- has the support of the core development team, in trying out pytest adoption
4139
- has no tests... or 100% test coverage... or somewhere in between!
4240

43-
`Partner projects, sign up here`_! (by 22 March)
44-
41+
Partner projects, sign up here! (by 22 March)
4542

46-
.. _`Partner projects, sign up here`: http://goo.gl/forms/ZGyqlHiwk3
4743

4844

4945
What does it mean to "adopt pytest"?
@@ -68,11 +64,11 @@ Progressive success might look like:
6864
It may be after the month is up, the partner project decides that pytest is not right for it. That's okay - hopefully the pytest team will also learn something about its weaknesses or deficiencies.
6965

7066
.. _`nose and unittest`: faq.html#how-does-pytest-relate-to-nose-and-unittest
71-
.. _assert: asserts.html
67+
.. _assert: assert.html
7268
.. _pycmd: https://bitbucket.org/hpk42/pycmd/overview
7369
.. _`setUp/tearDown methods`: xunit_setup.html
7470
.. _fixtures: fixture.html
75-
.. _markers: markers.html
71+
.. _markers: mark.html
7672
.. _distributed: xdist.html
7773

7874

doc/en/announce/release-2.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ courtesy of Benjamin Peterson. You can now safely use ``assert``
1212
statements in test modules without having to worry about side effects
1313
or python optimization ("-OO") options. This is achieved by rewriting
1414
assert statements in test modules upon import, using a PEP302 hook.
15-
See http://pytest.org/assert.html#advanced-assertion-introspection for
15+
See https://docs.pytest.org/en/latest/assert.html for
1616
detailed information. The work has been partly sponsored by my company,
1717
merlinux GmbH.
1818

doc/en/announce/release-2.9.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The py.test Development Team
7575

7676
**Changes**
7777

78-
* **Important**: `py.code <https://pylib.readthedocs.io/en/latest/code.html>`_ has been
78+
* **Important**: `py.code <https://pylib.readthedocs.io/en/stable/code.html>`_ has been
7979
merged into the ``pytest`` repository as ``pytest._code``. This decision
8080
was made because ``py.code`` had very few uses outside ``pytest`` and the
8181
fact that it was in a different repository made it difficult to fix bugs on
@@ -88,7 +88,7 @@ The py.test Development Team
8888
**experimental**, so you definitely should not import it explicitly!
8989

9090
Please note that the original ``py.code`` is still available in
91-
`pylib <https://pylib.readthedocs.io>`_.
91+
`pylib <https://pylib.readthedocs.io/en/stable/>`_.
9292

9393
* ``pytest_enter_pdb`` now optionally receives the pytest config object.
9494
Thanks `@nicoddemus`_ for the PR.

doc/en/announce/release-2.9.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ The py.test Development Team
6666

6767
.. _#510: https://github.com/pytest-dev/pytest/issues/510
6868
.. _#1506: https://github.com/pytest-dev/pytest/pull/1506
69-
.. _#1496: https://github.com/pytest-dev/pytest/issue/1496
70-
.. _#1524: https://github.com/pytest-dev/pytest/issue/1524
69+
.. _#1496: https://github.com/pytest-dev/pytest/issues/1496
70+
.. _#1524: https://github.com/pytest-dev/pytest/pull/1524
7171

7272
.. _@astraw38: https://github.com/astraw38
7373
.. _@hackebrot: https://github.com/hackebrot

doc/en/flaky.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ Resources
122122
* Google:
123123

124124
* `Flaky Tests at Google and How We Mitigate Them <https://testing.googleblog.com/2016/05/flaky-tests-at-google-and-how-we.html>`_ by John Micco, 2016
125-
* `Where do Google's flaky tests come from? <https://docs.google.com/document/d/1mZ0-Kc97DI_F3tf_GBW_NB_aqka-P1jVOsFfufxqUUM/edit#heading=h.ec0r4fypsleh>`_ by Jeff Listfield, 2017
125+
* `Where do Google's flaky tests come from? <https://testing.googleblog.com/2017/04/where-do-our-flaky-tests-come-from.html>`_ by Jeff Listfield, 2017

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The first test passed and the second failed. You can easily see the intermediate
142142
Request a unique temporary directory for functional tests
143143
--------------------------------------------------------------
144144

145-
``pytest`` provides `Builtin fixtures/function arguments <https://docs.pytest.org/en/latest/builtin.html#builtinfixtures>`_ to request arbitrary resources, like a unique temporary directory::
145+
``pytest`` provides `Builtin fixtures/function arguments <https://docs.pytest.org/en/latest/builtin.html>`_ to request arbitrary resources, like a unique temporary directory::
146146

147147
# content of test_tmpdir.py
148148
def test_needsfiles(tmpdir):

doc/en/links.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.. _`distribute docs`:
1515
.. _`distribute`: https://pypi.org/project/distribute/
1616
.. _`pip`: https://pypi.org/project/pip/
17-
.. _`venv`: https://docs.python.org/3/library/venv.html/
17+
.. _`venv`: https://docs.python.org/3/library/venv.html
1818
.. _`virtualenv`: https://pypi.org/project/virtualenv/
1919
.. _hudson: http://hudson-ci.org/
2020
.. _jenkins: http://jenkins-ci.org/

doc/en/projects.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Here are some examples of projects using ``pytest`` (please send notes via :ref:
2828
* `sentry <https://getsentry.com/welcome/>`_, realtime app-maintenance and exception tracking
2929
* `Astropy <http://www.astropy.org/>`_ and `affiliated packages <http://www.astropy.org/affiliated/index.html>`_
3030
* `tox <http://testrun.org/tox>`_, virtualenv/Hudson integration tool
31-
* `PIDA <http://pida.co.uk>`_ framework for integrated development
3231
* `PyPM <http://code.activestate.com/pypm/>`_ ActiveState's package manager
3332
* `Fom <http://packages.python.org/Fom/>`_ a fluid object mapper for FluidDB
3433
* `applib <https://github.com/ActiveState/applib>`_ cross-platform utilities
@@ -37,8 +36,7 @@ Here are some examples of projects using ``pytest`` (please send notes via :ref:
3736
* `mwlib <https://pypi.org/project/mwlib/>`_ mediawiki parser and utility library
3837
* `The Translate Toolkit <http://translate.sourceforge.net/wiki/toolkit/index>`_ for localization and conversion
3938
* `execnet <http://codespeak.net/execnet>`_ rapid multi-Python deployment
40-
* `pylib <https://py.readthedocs.io>`_ cross-platform path, IO, dynamic code library
41-
* `Pacha <http://pacha.cafepais.com/>`_ configuration management in five minutes
39+
* `pylib <https://pylib.readthedocs.io/en/stable/>`_ cross-platform path, IO, dynamic code library
4240
* `bbfreeze <https://pypi.org/project/bbfreeze/>`_ create standalone executables from Python scripts
4341
* `pdb++ <http://bitbucket.org/antocuni/pdb>`_ a fancier version of PDB
4442
* `py-s3fuse <http://code.google.com/p/py-s3fuse/>`_ Amazon S3 FUSE based filesystem
@@ -77,7 +75,7 @@ Some organisations using pytest
7775
* `Tandberg <http://www.tandberg.com/>`_
7876
* `Shootq <http://web.shootq.com/>`_
7977
* `Stups department of Heinrich Heine University Duesseldorf <http://www.stups.uni-duesseldorf.de/projects.php>`_
80-
* `cellzome <http://www.cellzome.com/>`_
78+
* cellzome
8179
* `Open End, Gothenborg <http://www.openend.se>`_
8280
* `Laboratory of Bioinformatics, Warsaw <http://genesilico.pl/>`_
8381
* `merlinux, Germany <http://merlinux.eu>`_

doc/en/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ decorator or to all tests in a module by setting the ``pytestmark`` variable:
127127
*Credits go to Florian Schulze for the reference implementation in the* `pytest-warnings`_
128128
*plugin.*
129129

130-
.. _`-W option`: https://docs.python.org/3/using/cmdline.html?highlight=#cmdoption-W
130+
.. _`-W option`: https://docs.python.org/3/using/cmdline.html#cmdoption-w
131131
.. _warnings.simplefilter: https://docs.python.org/3/library/warnings.html#warnings.simplefilter
132132
.. _`pytest-warnings`: https://github.com/fschulze/pytest-warnings
133133

0 commit comments

Comments
 (0)