diff options
author | Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> | 2018-01-20 00:25:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2018-01-20 00:25:37 (GMT) |
commit | 338cd83c5dceaed785f5bf613e2122f871908e2a (patch) | |
tree | f75ff3700e2f2c6a98b34728568e2e8a53cf0adf /Doc/library/unittest.mock-examples.rst | |
parent | 7464e87a6511d3626b04c9833a262a77b1f21e23 (diff) | |
download | cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.zip cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.tar.gz cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.tar.bz2 |
bpo-25910: Link redirections in docs (#1933)
Fixes some redirection links in docs.
Diffstat (limited to 'Doc/library/unittest.mock-examples.rst')
-rw-r--r-- | Doc/library/unittest.mock-examples.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst index 05f33740..5bf3d57 100644 --- a/Doc/library/unittest.mock-examples.rst +++ b/Doc/library/unittest.mock-examples.rst @@ -1008,7 +1008,7 @@ subclass. True Sometimes this is inconvenient. For example, `one user -<https://code.google.com/p/mock/issues/detail?id=105>`_ is subclassing mock to +<https://code.google.com/archive/p/mock/issues/105>`_ is subclassing mock to created a `Twisted adaptor <https://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_. Having this applied to attributes too actually causes errors. @@ -1251,7 +1251,7 @@ With a bit of tweaking you could have the comparison function raise the :exc:`AssertionError` directly and provide a more useful failure message. As of version 1.5, the Python testing library `PyHamcrest -<https://pyhamcrest.readthedocs.org/>`_ provides similar functionality, +<https://pyhamcrest.readthedocs.io/>`_ provides similar functionality, that may be useful here, in the form of its equality matcher (`hamcrest.library.integration.match_equality -<https://pyhamcrest.readthedocs.org/en/release-1.8/integration/#module-hamcrest.library.integration.match_equality>`_). +<https://pyhamcrest.readthedocs.io/en/release-1.8/integration/#module-hamcrest.library.integration.match_equality>`_). |