summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew Dunai <andunai@gmail.com>2018-12-04 09:08:45 (GMT)
committerChris Withers <chris@withers.org>2018-12-04 09:08:45 (GMT)
commite63e617ebbe481c498bdf037a62e09f4f9f3963f (patch)
tree1389d5b9eb62ec43ab01823a9470ecf16d122aa4 /Misc
parenteeb719eac6347f5b6e85389aa13a386024766806 (diff)
downloadcpython-e63e617ebbe481c498bdf037a62e09f4f9f3963f.zip
cpython-e63e617ebbe481c498bdf037a62e09f4f9f3963f.tar.gz
cpython-e63e617ebbe481c498bdf037a62e09f4f9f3963f.tar.bz2
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873)
Fix minor typo in test function name.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-12-03-21-20-24.bpo-35357.rhhoiC.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-12-03-21-20-24.bpo-35357.rhhoiC.rst b/Misc/NEWS.d/next/Core and Builtins/2018-12-03-21-20-24.bpo-35357.rhhoiC.rst
new file mode 100644
index 0000000..1dade5b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-12-03-21-20-24.bpo-35357.rhhoiC.rst
@@ -0,0 +1,4 @@
+Internal attributes' names of unittest.mock._Call and
+unittest.mock.MagicProxy (name, parent & from_kall) are now prefixed with
+_mock_ in order to prevent clashes with widely used object attributes.
+Fixed minor typo in test function name.