Skip to content

Commit febccae

Browse files
authored
Merge pull request #3431 from jdufresne/pypi
Update all pypi.python.org URLs to pypi.org
2 parents 0b2b73c + d2bf0bf commit febccae

23 files changed

+55
-54
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
------
77

88
.. image:: https://img.shields.io/pypi/v/pytest.svg
9-
:target: https://pypi.python.org/pypi/pytest
9+
:target: https://pypi.org/project/pytest/
1010

1111
.. image:: https://anaconda.org/conda-forge/pytest/badges/version.svg
1212
:target: https://anaconda.org/conda-forge/pytest
1313

1414
.. image:: https://img.shields.io/pypi/pyversions/pytest.svg
15-
:target: https://pypi.python.org/pypi/pytest
15+
:target: https://pypi.org/project/pytest/
1616

1717
.. image:: https://img.shields.io/coveralls/pytest-dev/pytest/master.svg
1818
:target: https://coveralls.io/r/pytest-dev/pytest

changelog/3431.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update all pypi.python.org URLs to pypi.org.

doc/en/_templates/links.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3>Useful Links</h3>
22
<ul>
3-
<li><a href="https://pypi.python.org/pypi/pytest">pytest @ PyPI</a></li>
3+
<li><a href="https://pypi.org/project/pytest/">pytest @ PyPI</a></li>
44
<li><a href="https://github.com/pytest-dev/pytest/">pytest @ GitHub</a></li>
55
<li><a href="http://plugincompat.herokuapp.com/">3rd party plugins</a></li>
66
<li><a href="https://github.com/pytest-dev/pytest/issues">Issue Tracker</a></li>

doc/en/announce/release-2.3.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ few interesting new plugins saw the light last month:
1414

1515
And several others like pytest-django saw maintenance releases.
1616
For a more complete list, check out
17-
https://pypi.python.org/pypi?%3Aaction=search&term=pytest&submit=search.
17+
https://pypi.org/search/?q=pytest
1818

1919
For general information see:
2020

doc/en/announce/release-2.4.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ a full list of details. A few feature highlights:
2323
called if the corresponding setup method succeeded.
2424

2525
- integrate tab-completion on command line options if you
26-
have `argcomplete <http://pypi.python.org/pypi/argcomplete>`_
26+
have `argcomplete <https://pypi.org/project/argcomplete/>`_
2727
configured.
2828

2929
- allow boolean expression directly with skipif/xfail
3030
if a "reason" is also specified.
3131

3232
- a new hook ``pytest_load_initial_conftests`` allows plugins like
33-
`pytest-django <http://pypi.python.org/pypi/pytest-django>`_ to
33+
`pytest-django <https://pypi.org/project/pytest-django/>`_ to
3434
influence the environment before conftest files import ``django``.
3535

3636
- reporting: color the last line red or green depending if

doc/en/development_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Code Style
1010
----------
1111

1212
* `PEP-8 <https://www.python.org/dev/peps/pep-0008>`_
13-
* `flake8 <https://pypi.python.org/pypi/flake8>`_ for quality checks
13+
* `flake8 <https://pypi.org/project/flake8/>`_ for quality checks
1414
* `invoke <http://www.pyinvoke.org/>`_ to automate development tasks
1515

1616

doc/en/example/nonpython.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A basic example for specifying tests in Yaml files
1010
--------------------------------------------------------------
1111

1212
.. _`pytest-yamlwsgi`: http://bitbucket.org/aafshar/pytest-yamlwsgi/src/tip/pytest_yamlwsgi.py
13-
.. _`PyYAML`: http://pypi.python.org/pypi/PyYAML/
13+
.. _`PyYAML`: https://pypi.org/project/PyYAML/
1414

1515
Here is an example ``conftest.py`` (extracted from Ali Afshnars special purpose `pytest-yamlwsgi`_ plugin). This ``conftest.py`` will collect ``test*.yml`` files and will execute the yaml-formatted content as custom tests:
1616

doc/en/example/parametrize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ together with the actual data, instead of listing them separately.
160160
A quick port of "testscenarios"
161161
------------------------------------
162162

163-
.. _`test scenarios`: http://pypi.python.org/pypi/testscenarios/
163+
.. _`test scenarios`: https://pypi.org/project/testscenarios/
164164

165165
Here is a quick port to run tests configured with `test scenarios`_,
166166
an add-on from Robert Collins for the standard unittest framework. We

doc/en/example/simple.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ the command line arguments before they get processed:
108108
num = max(multiprocessing.cpu_count() / 2, 1)
109109
args[:] = ["-n", str(num)] + args
110110
111-
If you have the `xdist plugin <https://pypi.python.org/pypi/pytest-xdist>`_ installed
111+
If you have the `xdist plugin <https://pypi.org/project/pytest-xdist/>`_ installed
112112
you will now always perform test runs using a number
113113
of subprocesses close to your CPU. Running in an empty
114114
directory with the above conftest.py::
@@ -778,7 +778,7 @@ which test got stuck, for example if pytest was run in quiet mode (``-q``) or yo
778778
output. This is particularly a problem if the problem helps only sporadically, the famous "flaky" kind of tests.
779779

780780
``pytest`` sets a ``PYTEST_CURRENT_TEST`` environment variable when running tests, which can be inspected
781-
by process monitoring utilities or libraries like `psutil <https://pypi.python.org/pypi/psutil>`_ to discover which
781+
by process monitoring utilities or libraries like `psutil <https://pypi.org/project/psutil/>`_ to discover which
782782
test got stuck if necessary:
783783

784784
.. code-block:: python

doc/en/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ and does not handle Deferreds returned from a test in pytest style.
3030
If you are using trial's unittest.TestCase chances are that you can
3131
just run your tests even if you return Deferreds. In addition,
3232
there also is a dedicated `pytest-twisted
33-
<http://pypi.python.org/pypi/pytest-twisted>`_ plugin which allows you to
33+
<https://pypi.org/project/pytest-twisted/>`_ plugin which allows you to
3434
return deferreds from pytest-style tests, allowing the use of
3535
:ref:`fixtures` and other features.
3636

3737
how does pytest work with Django?
3838
++++++++++++++++++++++++++++++++++++++++++++++
3939

40-
In 2012, some work is going into the `pytest-django plugin <http://pypi.python.org/pypi/pytest-django>`_. It substitutes the usage of Django's
40+
In 2012, some work is going into the `pytest-django plugin <https://pypi.org/project/pytest-django/>`_. It substitutes the usage of Django's
4141
``manage.py test`` and allows the use of all pytest features_ most of which
4242
are not available from Django directly.
4343

0 commit comments

Comments
 (0)