Skip to content

Commit 4345efa

Browse files
authored
Merge pull request pytest-dev#3902 from stevepiercy/fix-pytest.org-links
Fix pytest.org links
2 parents 10c1c7c + bf47033 commit 4345efa

File tree

11 files changed

+25
-23
lines changed

11 files changed

+25
-23
lines changed

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.. image:: http://docs.pytest.org/en/latest/_static/pytest1.png
2-
:target: http://docs.pytest.org
1+
.. image:: https://docs.pytest.org/en/latest/_static/pytest1.png
2+
:target: https://docs.pytest.org/en/latest/
33
:align: center
44
:alt: pytest
55

@@ -66,23 +66,23 @@ To execute it::
6666
========================== 1 failed in 0.04 seconds ===========================
6767

6868

69-
Due to ``pytest``'s detailed assertion introspection, only plain ``assert`` statements are used. See `getting-started <http://docs.pytest.org/en/latest/getting-started.html#our-first-test-run>`_ for more examples.
69+
Due to ``pytest``'s detailed assertion introspection, only plain ``assert`` statements are used. See `getting-started <https://docs.pytest.org/en/latest/getting-started.html#our-first-test-run>`_ for more examples.
7070

7171

7272
Features
7373
--------
7474

75-
- Detailed info on failing `assert statements <http://docs.pytest.org/en/latest/assert.html>`_ (no need to remember ``self.assert*`` names);
75+
- Detailed info on failing `assert statements <https://docs.pytest.org/en/latest/assert.html>`_ (no need to remember ``self.assert*`` names);
7676

7777
- `Auto-discovery
78-
<http://docs.pytest.org/en/latest/goodpractices.html#python-test-discovery>`_
78+
<https://docs.pytest.org/en/latest/goodpractices.html#python-test-discovery>`_
7979
of test modules and functions;
8080

81-
- `Modular fixtures <http://docs.pytest.org/en/latest/fixture.html>`_ for
81+
- `Modular fixtures <https://docs.pytest.org/en/latest/fixture.html>`_ for
8282
managing small or parametrized long-lived test resources;
8383

84-
- Can run `unittest <http://docs.pytest.org/en/latest/unittest.html>`_ (or trial),
85-
`nose <http://docs.pytest.org/en/latest/nose.html>`_ test suites out of the box;
84+
- Can run `unittest <https://docs.pytest.org/en/latest/unittest.html>`_ (or trial),
85+
`nose <https://docs.pytest.org/en/latest/nose.html>`_ test suites out of the box;
8686

8787
- Python 2.7, Python 3.4+, PyPy 2.3, Jython 2.5 (untested);
8888

@@ -92,7 +92,7 @@ Features
9292
Documentation
9393
-------------
9494

95-
For full documentation, including installation, tutorials and PDF documents, please see http://docs.pytest.org.
95+
For full documentation, including installation, tutorials and PDF documents, please see https://docs.pytest.org/en/latest/.
9696

9797

9898
Bugs/Requests
@@ -104,7 +104,7 @@ Please use the `GitHub issue tracker <https://github.com/pytest-dev/pytest/issue
104104
Changelog
105105
---------
106106

107-
Consult the `Changelog <http://docs.pytest.org/en/latest/changelog.html>`__ page for fixes and enhancements of each version.
107+
Consult the `Changelog <https://docs.pytest.org/en/latest/changelog.html>`__ page for fixes and enhancements of each version.
108108

109109

110110
License

changelog/3902.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix pytest.org links

doc/en/funcarg_compare.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pytest-2.3: reasoning for fixture/funcarg evolution
77

88
**Target audience**: Reading this document requires basic knowledge of
99
python testing, xUnit setup methods and the (previous) basic pytest
10-
funcarg mechanism, see http://pytest.org/2.2.4/funcargs.html
10+
funcarg mechanism, see https://docs.pytest.org/en/latest/historical-notes.html#funcargs-and-pytest-funcarg.
1111
If you are new to pytest, then you can simply ignore this
1212
section and read the other sections.
1313

scripts/release.minor.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ against itself, passing on many different interpreters and platforms.
99
This release contains a number of bugs fixes and improvements, so users are encouraged
1010
to take a look at the CHANGELOG:
1111

12-
http://doc.pytest.org/en/latest/changelog.html
12+
https://docs.pytest.org/en/latest/changelog.html
1313

1414
For complete documentation, please visit:
1515

16-
http://docs.pytest.org
16+
https://docs.pytest.org/en/latest/
1717

1818
As usual, you can upgrade from pypi via:
1919

scripts/release.patch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a bug-fix release, being a drop-in replacement. To upgrade::
77

88
pip install --upgrade pytest
99

10-
The full changelog is available at http://doc.pytest.org/en/latest/changelog.html.
10+
The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.
1111

1212
Thanks to all who contributed to this release, among them:
1313

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def main():
9292
description="pytest: simple powerful testing with Python",
9393
long_description=long_description,
9494
use_scm_version={"write_to": "src/_pytest/_version.py"},
95-
url="http://pytest.org",
95+
url="https://docs.pytest.org/en/latest/",
9696
project_urls={
9797
"Source": "https://github.com/pytest-dev/pytest",
9898
"Tracker": "https://github.com/pytest-dev/pytest/issues",

src/_pytest/python.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,14 @@ def pytest_configure(config):
173173
"or a list of tuples of values if argnames specifies multiple names. "
174174
"Example: @parametrize('arg1', [1,2]) would lead to two calls of the "
175175
"decorated test function, one with arg1=1 and another with arg1=2."
176-
"see http://pytest.org/latest/parametrize.html for more info and "
177-
"examples.",
176+
"see https://docs.pytest.org/en/latest/parametrize.html for more info "
177+
"and examples.",
178178
)
179179
config.addinivalue_line(
180180
"markers",
181181
"usefixtures(fixturename1, fixturename2, ...): mark tests as needing "
182-
"all of the specified fixtures. see http://pytest.org/latest/fixture.html#usefixtures ",
182+
"all of the specified fixtures. see "
183+
"https://docs.pytest.org/en/latest/fixture.html#usefixtures ",
183184
)
184185

185186

src/_pytest/skipping.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def nop(*args, **kwargs):
5151
"results in a True value. Evaluation happens within the "
5252
"module global context. Example: skipif('sys.platform == \"win32\"') "
5353
"skips the test if we are on the win32 platform. see "
54-
"http://pytest.org/latest/skipping.html",
54+
"https://docs.pytest.org/en/latest/skipping.html",
5555
)
5656
config.addinivalue_line(
5757
"markers",
@@ -61,7 +61,7 @@ def nop(*args, **kwargs):
6161
"and run=False if you don't even want to execute the test function. "
6262
"If only specific exception(s) are expected, you can list them in "
6363
"raises, and if the test fails in other ways, it will be reported as "
64-
"a true failure. See http://pytest.org/latest/skipping.html",
64+
"a true failure. See https://docs.pytest.org/en/latest/skipping.html",
6565
)
6666

6767

src/_pytest/terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def summary_warnings(self):
691691
indented = "\n".join(" " + x for x in lines)
692692
self._tw.line(indented)
693693
self._tw.line()
694-
self._tw.line("-- Docs: http://doc.pytest.org/en/latest/warnings.html")
694+
self._tw.line("-- Docs: https://docs.pytest.org/en/latest/warnings.html")
695695

696696
def summary_passes(self):
697697
if self.config.option.tbstyle != "no":

src/_pytest/warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def pytest_configure(config):
5353
config.addinivalue_line(
5454
"markers",
5555
"filterwarnings(warning): add a warning filter to the given test. "
56-
"see http://pytest.org/latest/warnings.html#pytest-mark-filterwarnings ",
56+
"see https://docs.pytest.org/en/latest/warnings.html#pytest-mark-filterwarnings ",
5757
)
5858

5959

0 commit comments

Comments
 (0)