diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 10:49:58 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 10:49:58 +0300 |
commit | 1acbf853c8be743c88141501ae879d63eb8ce209 (patch) | |
tree | 436fd38b15cda0f644ccae8d238096087c17f63d /Doc/library/unittest.mock-examples.rst | |
parent | a5f3a507345c8a01d99960a036dfa9d1baf8da10 (diff) | |
parent | 6dff0205b724669cc0469dd65a3f7edc5a69e1e7 (diff) | |
download | cpython-git-1acbf853c8be743c88141501ae879d63eb8ce209.tar.gz |
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 0bb52ef230..05f33740d7 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 |