summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-01-24 18:44:29 +0530
committerChris Withers <chris@withers.org>2020-01-24 13:14:29 +0000
commit66b00a9d3aacf6ed49412f48743e4913104a2bb3 (patch)
tree2326feba1f39e3613e1eae1fd9c5822591c2480a /Misc
parentb8d1262e8afe7b907b4a394a191739571092acdb (diff)
downloadcpython-git-66b00a9d3aacf6ed49412f48743e4913104a2bb3.tar.gz
bpo-38473: Handle autospecced functions and methods used with attach_mock (GH-16784)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-10-14-21-14-55.bpo-38473.uXpVld.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-10-14-21-14-55.bpo-38473.uXpVld.rst b/Misc/NEWS.d/next/Library/2019-10-14-21-14-55.bpo-38473.uXpVld.rst
new file mode 100644
index 0000000000..de80e89e00
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-10-14-21-14-55.bpo-38473.uXpVld.rst
@@ -0,0 +1,2 @@
+Use signature from inner mock for autospecced methods attached with
+:func:`unittest.mock.attach_mock`. Patch by Karthikeyan Singaravelan.