summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-04-22 02:30:23 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2019-04-22 02:30:23 (GMT)
commit9b21856b0fcda949de239edc7aa6cf3f2f4f77a3 (patch)
tree67b8f216a06b29748f5e573d5ab855b3462752e7 /Misc
parent9541bd321a94f13dc41163a5d7a1a847816fac84 (diff)
downloadcpython-9b21856b0fcda949de239edc7aa6cf3f2f4f77a3.zip
cpython-9b21856b0fcda949de239edc7aa6cf3f2f4f77a3.tar.gz
cpython-9b21856b0fcda949de239edc7aa6cf3f2f4f77a3.tar.bz2
bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613)
Co-authored-by: Felipe <felipe.nospam.ochoa@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-01-18-23-10-10.bpo-23078.l4dFoj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-01-18-23-10-10.bpo-23078.l4dFoj.rst b/Misc/NEWS.d/next/Library/2019-01-18-23-10-10.bpo-23078.l4dFoj.rst
new file mode 100644
index 0000000..975cc9c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-01-18-23-10-10.bpo-23078.l4dFoj.rst
@@ -0,0 +1,2 @@
+Add support for :func:`classmethod` and :func:`staticmethod` to
+:func:`unittest.mock.create_autospec`. Initial patch by Felipe Ochoa.