summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-04-10 21:19:02 (GMT)
committerGitHub <noreply@github.com>2021-04-10 21:19:02 (GMT)
commit6e468cb16bde483ad73c1eb13b20a08d74e30846 (patch)
tree4df4d44c0cdf464ff25f014889b48de54aa3442c
parentecf14e6557c6e4f7af9c0d6460d31fe121c22553 (diff)
downloadcpython-6e468cb16bde483ad73c1eb13b20a08d74e30846.zip
cpython-6e468cb16bde483ad73c1eb13b20a08d74e30846.tar.gz
cpython-6e468cb16bde483ad73c1eb13b20a08d74e30846.tar.bz2
bpo-43478: Fix formatting of NEWS entry (GH-25335)
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-10-03-30-36.bpo-43478.iZcBTq.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-10-03-30-36.bpo-43478.iZcBTq.rst b/Misc/NEWS.d/next/Library/2021-04-10-03-30-36.bpo-43478.iZcBTq.rst
index aaa1992..12a03d7 100644
--- a/Misc/NEWS.d/next/Library/2021-04-10-03-30-36.bpo-43478.iZcBTq.rst
+++ b/Misc/NEWS.d/next/Library/2021-04-10-03-30-36.bpo-43478.iZcBTq.rst
@@ -1 +1,6 @@
-Mocks can no longer be used as the specs for other Mocks. As a result, an already-mocked object cannot have an attribute mocked using `autospec=True` or be the subject of a `create_autospec(...)` call. This can uncover bugs in tests since these Mock-derived Mocks will always pass certain tests (e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with) will unconditionally pass. \ No newline at end of file
+Mocks can no longer be used as the specs for other Mocks. As a result, an
+already-mocked object cannot have an attribute mocked using ``autospec=True``
+or be the subject of a ``create_autospec(...)`` call. This can uncover bugs in
+tests since these Mock-derived Mocks will always pass certain tests (e.g.
+:func:`isinstance`) and builtin assert functions (e.g. assert_called_once_with)
+will unconditionally pass.