summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-02-25 21:46:34 (GMT)
committerChris Withers <chris@withers.org>2019-02-25 21:46:34 (GMT)
commit9c3f284de598550be6687964c23fd7599e53b20e (patch)
treea873c7a0f55f9a1d2c3fdf00476e7bd24563e1cd /Misc
parentf1b9abe35f75393351b3d954a392122a3f8f6951 (diff)
downloadcpython-9c3f284de598550be6687964c23fd7599e53b20e.zip
cpython-9c3f284de598550be6687964c23fd7599e53b20e.tar.gz
cpython-9c3f284de598550be6687964c23fd7599e53b20e.tar.bz2
Autospec functions should propagate mock calls to parent GH-11273
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-12-21-09-54-30.bpo-21478.5gsXtc.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-21-09-54-30.bpo-21478.5gsXtc.rst b/Misc/NEWS.d/next/Library/2018-12-21-09-54-30.bpo-21478.5gsXtc.rst
new file mode 100644
index 0000000..1000748
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-12-21-09-54-30.bpo-21478.5gsXtc.rst
@@ -0,0 +1,2 @@
+Calls to a child function created with :func:`unittest.mock.create_autospec`
+should propagate to the parent. Patch by Karthikeyan Singaravelan.