diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 07:49:07 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 07:49:07 (GMT) |
commit | 6dff0205b724669cc0469dd65a3f7edc5a69e1e7 (patch) | |
tree | b909a98cf8b2d7820f897b89e3114b7b1844f037 /Doc/library/unittest.mock-examples.rst | |
parent | 64099ea58ea61c8f37c1fd9f673e0ded59600209 (diff) | |
download | cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.zip cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.gz cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.bz2 |
Issue #26736: Used HTTPS for external links in the documentation if possible.
Diffstat (limited to 'Doc/library/unittest.mock-examples.rst')
-rw-r--r-- | Doc/library/unittest.mock-examples.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst index 0bb52ef..05f33740 100644 --- a/Doc/library/unittest.mock-examples.rst +++ b/Doc/library/unittest.mock-examples.rst @@ -549,7 +549,7 @@ Calls to the date constructor are recorded in the ``mock_date`` attributes An alternative way of dealing with mocking dates, or other builtin classes, is discussed in `this blog entry -<http://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_. +<https://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_. Mocking a Generator Method @@ -1010,7 +1010,7 @@ subclass. Sometimes this is inconvenient. For example, `one user <https://code.google.com/p/mock/issues/detail?id=105>`_ is subclassing mock to created a `Twisted adaptor -<http://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_. +<https://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_. Having this applied to attributes too actually causes errors. ``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create |