Skip to content

Commit cf3ebd4

Browse files
Steffen Schroedersteffenschroeder
authored andcommitted
Fixed broken links
1 parent d789f2e commit cf3ebd4

File tree

13 files changed

+29
-30
lines changed

13 files changed

+29
-30
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3371,7 +3371,7 @@ Deprecations and Removals
33713371

33723372
- ``pytest.approx`` no longer supports ``>``, ``>=``, ``<`` and ``<=``
33733373
operators to avoid surprising/inconsistent behavior. See `the approx docs
3374-
<https://docs.pytest.org/en/latest/builtin.html#pytest.approx>`_ for more
3374+
<https://docs.pytest.org/en/latest/reference.html#pytest-approx>`_ for more
33753375
information. (`#2003 <https://github.com/pytest-dev/pytest/issues/2003>`_)
33763376

33773377
- All old-style specific behavior in current classes in the pytest's API is
@@ -4728,7 +4728,7 @@ time or change existing behaviors in order to make them less surprising/more use
47284728
* Fix (`#1422`_): junit record_xml_property doesn't allow multiple records
47294729
with same name.
47304730

4731-
.. _`traceback style docs`: https://pytest.org/latest/usage.html#modifying-python-traceback-printing
4731+
.. _`traceback style docs`: https://pytest.org/en/latest/usage.html#modifying-python-traceback-printing
47324732

47334733
.. _#1609: https://github.com/pytest-dev/pytest/issues/1609
47344734
.. _#1422: https://github.com/pytest-dev/pytest/issues/1422
@@ -5246,7 +5246,7 @@ time or change existing behaviors in order to make them less surprising/more use
52465246
- add ability to set command line options by environment variable PYTEST_ADDOPTS.
52475247

52485248
- added documentation on the new pytest-dev teams on bitbucket and
5249-
github. See https://pytest.org/latest/contributing.html .
5249+
github. See https://pytest.org/en/latest/contributing.html .
52505250
Thanks to Anatoly for pushing and initial work on this.
52515251

52525252
- fix issue650: new option ``--docttest-ignore-import-errors`` which
@@ -5987,7 +5987,7 @@ Bug fixes:
59875987
- yielded test functions will now have autouse-fixtures active but
59885988
cannot accept fixtures as funcargs - it's anyway recommended to
59895989
rather use the post-2.0 parametrize features instead of yield, see:
5990-
http://pytest.org/latest/example/parametrize.html
5990+
http://pytest.org/en/latest/example/parametrize.html
59915991
- fix autouse-issue where autouse-fixtures would not be discovered
59925992
if defined in an a/conftest.py file and tests in a/tests/test_some.py
59935993
- fix issue226 - LIFO ordering for fixture teardowns
@@ -6120,7 +6120,7 @@ Bug fixes:
61206120
- pluginmanager.register(...) now raises ValueError if the
61216121
plugin has been already registered or the name is taken
61226122

6123-
- fix issue159: improve http://pytest.org/latest/faq.html
6123+
- fix issue159: improve http://pytest.org/en/latest/faq.html
61246124
especially with respect to the "magic" history, also mention
61256125
pytest-django, trial and unittest integration.
61266126

@@ -6233,7 +6233,7 @@ Bug fixes:
62336233
or through plugin hooks. Also introduce a "--strict" option which
62346234
will treat unregistered markers as errors
62356235
allowing to avoid typos and maintain a well described set of markers
6236-
for your test suite. See exaples at http://pytest.org/latest/mark.html
6236+
for your test suite. See exaples at http://pytest.org/en/latest/mark.html
62376237
and its links.
62386238
- issue50: introduce "-m marker" option to select tests based on markers
62396239
(this is a stricter and more predictable version of '-k' in that "-m"
@@ -6416,7 +6416,7 @@ Bug fixes:
64166416
- refinements to "collecting" output on non-ttys
64176417
- refine internal plugin registration and --traceconfig output
64186418
- introduce a mechanism to prevent/unregister plugins from the
6419-
command line, see http://pytest.org/plugins.html#cmdunregister
6419+
command line, see http://pytest.org/en/latest/plugins.html#cmdunregister
64206420
- activate resultlog plugin by default
64216421
- fix regression wrt yielded tests which due to the
64226422
collection-before-running semantics were not

doc/en/announce/release-2.0.0.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ see below for summary and detailed lists. A lot of long-deprecated code
77
has been removed, resulting in a much smaller and cleaner
88
implementation. See the new docs with examples here:
99

10-
http://pytest.org/2.0.0/index.html
10+
http://pytest.org/en/latest/index.html
1111

1212
A note on packaging: pytest used to part of the "py" distribution up
1313
until version py-1.3.4 but this has changed now: pytest-2.0.0 only
@@ -36,12 +36,12 @@ New Features
3636

3737
import pytest ; pytest.main(arglist, pluginlist)
3838

39-
see http://pytest.org/2.0.0/usage.html for details.
39+
see http://pytest.org/en/latest/usage.html for details.
4040

4141
- new and better reporting information in assert expressions
4242
if comparing lists, sequences or strings.
4343

44-
see http://pytest.org/2.0.0/assert.html#newreport
44+
see http://pytest.org/en/latest/assert.html#newreport
4545

4646
- new configuration through ini-files (setup.cfg or tox.ini recognized),
4747
for example::
@@ -50,7 +50,7 @@ New Features
5050
norecursedirs = .hg data* # don't ever recurse in such dirs
5151
addopts = -x --pyargs # add these command line options by default
5252

53-
see http://pytest.org/2.0.0/customize.html
53+
see http://pytest.org/en/latest/customize.html
5454

5555
- improved standard unittest support. In general py.test should now
5656
better be able to run custom unittest.TestCases like twisted trial

doc/en/announce/release-2.0.1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Changes between 2.0.0 and 2.0.1
5757
- refinements to "collecting" output on non-ttys
5858
- refine internal plugin registration and --traceconfig output
5959
- introduce a mechanism to prevent/unregister plugins from the
60-
command line, see http://pytest.org/latest/plugins.html#cmdunregister
60+
command line, see http://pytest.org/en/latest/plugins.html#cmdunregister
6161
- activate resultlog plugin by default
6262
- fix regression wrt yielded tests which due to the
6363
collection-before-running semantics were not

doc/en/announce/release-2.2.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ with these improvements:
99

1010
- new @pytest.mark.parametrize decorator to run tests with different arguments
1111
- new metafunc.parametrize() API for parametrizing arguments independently
12-
- see examples at http://pytest.org/latest/example/parametrize.html
12+
- see examples at http://pytest.org/en/latest/example/parametrize.html
1313
- NOTE that parametrize() related APIs are still a bit experimental
1414
and might change in future releases.
1515

@@ -18,7 +18,7 @@ with these improvements:
1818
- "-m markexpr" option for selecting tests according to their mark
1919
- a new "markers" ini-variable for registering test markers for your project
2020
- the new "--strict" bails out with an error if using unregistered markers.
21-
- see examples at http://pytest.org/latest/example/markers.html
21+
- see examples at http://pytest.org/en/latest/example/markers.html
2222

2323
* duration profiling: new "--duration=N" option showing the N slowest test
2424
execution or setup/teardown calls. This is most useful if you want to
@@ -78,7 +78,7 @@ Changes between 2.1.3 and 2.2.0
7878
or through plugin hooks. Also introduce a "--strict" option which
7979
will treat unregistered markers as errors
8080
allowing to avoid typos and maintain a well described set of markers
81-
for your test suite. See examples at http://pytest.org/latest/mark.html
81+
for your test suite. See examples at http://pytest.org/en/latest/mark.html
8282
and its links.
8383
- issue50: introduce "-m marker" option to select tests based on markers
8484
(this is a stricter and more predictable version of "-k" in that "-m"

doc/en/announce/release-2.3.0.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ re-useable fixture design.
1313

1414
For detailed info and tutorial-style examples, see:
1515

16-
http://pytest.org/latest/fixture.html
16+
http://pytest.org/en/latest/fixture.html
1717

1818
Moreover, there is now support for using pytest fixtures/funcargs with
1919
unittest-style suites, see here for examples:
2020

21-
http://pytest.org/latest/unittest.html
21+
http://pytest.org/en/latest/unittest.html
2222

2323
Besides, more unittest-test suites are now expected to "simply work"
2424
with pytest.
@@ -29,11 +29,11 @@ pytest-2.2.4.
2929

3030
If you are interested in the precise reasoning (including examples) of the
3131
pytest-2.3 fixture evolution, please consult
32-
http://pytest.org/latest/funcarg_compare.html
32+
http://pytest.org/en/latest/funcarg_compare.html
3333

3434
For general info on installation and getting started:
3535

36-
http://pytest.org/latest/getting-started.html
36+
http://pytest.org/en/latest/getting-started.html
3737

3838
Docs and PDF access as usual at:
3939

@@ -94,7 +94,7 @@ Changes between 2.2.4 and 2.3.0
9494
- pluginmanager.register(...) now raises ValueError if the
9595
plugin has been already registered or the name is taken
9696

97-
- fix issue159: improve http://pytest.org/latest/faq.html
97+
- fix issue159: improve http://pytest.org/en/latest/faq.html
9898
especially with respect to the "magic" history, also mention
9999
pytest-django, trial and unittest integration.
100100

doc/en/announce/release-2.3.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ comes with the following fixes and features:
1616
- yielded test functions will now have autouse-fixtures active but
1717
cannot accept fixtures as funcargs - it's anyway recommended to
1818
rather use the post-2.0 parametrize features instead of yield, see:
19-
http://pytest.org/latest/example/parametrize.html
19+
http://pytest.org/en/latest/example/parametrize.html
2020
- fix autouse-issue where autouse-fixtures would not be discovered
2121
if defined in an a/conftest.py file and tests in a/tests/test_some.py
2222
- fix issue226 - LIFO ordering for fixture teardowns

doc/en/announce/release-2.4.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ from a few supposedly very minor incompatibilities. See below for
77
a full list of details. A few feature highlights:
88

99
- new yield-style fixtures `pytest.yield_fixture
10-
<http://pytest.org/latest/yieldfixture.html>`_, allowing to use
10+
<http://pytest.org/en/latest/yieldfixture.html>`_, allowing to use
1111
existing with-style context managers in fixture functions.
1212

1313
- improved pdb support: ``import pdb ; pdb.set_trace()`` now works

doc/en/announce/release-2.7.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ holger krekel
5252
- add ability to set command line options by environment variable PYTEST_ADDOPTS.
5353

5454
- added documentation on the new pytest-dev teams on bitbucket and
55-
github. See https://pytest.org/latest/contributing.html .
55+
github. See https://pytest.org/en/latest/contributing.html .
5656
Thanks to Anatoly for pushing and initial work on this.
5757

5858
- fix issue650: new option ``--docttest-ignore-import-errors`` which

doc/en/announce/release-2.9.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The py.test Development Team
131131
with same name.
132132

133133

134-
.. _`traceback style docs`: https://pytest.org/latest/usage.html#modifying-python-traceback-printing
134+
.. _`traceback style docs`: https://pytest.org/en/latest/usage.html#modifying-python-traceback-printing
135135

136136
.. _#1422: https://github.com/pytest-dev/pytest/issues/1422
137137
.. _#1379: https://github.com/pytest-dev/pytest/issues/1379

doc/en/fixture.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ pytest fixtures: explicit, modular, scalable
99

1010

1111

12-
.. _`xUnit`: http://en.wikipedia.org/wiki/XUnit
13-
.. _`purpose of test fixtures`: http://en.wikipedia.org/wiki/Test_fixture#Software
14-
.. _`Dependency injection`: http://en.wikipedia.org/wiki/Dependency_injection
12+
.. _`xUnit`: https://en.wikipedia.org/wiki/XUnit
13+
.. _`purpose of test fixtures`: https://en.wikipedia.org/wiki/Test_fixture#Software
14+
.. _`Dependency injection`: https://en.wikipedia.org/wiki/Dependency_injection
1515

1616
The `purpose of test fixtures`_ is to provide a fixed baseline
1717
upon which tests can reliably and repeatedly execute. pytest fixtures

0 commit comments

Comments
 (0)