summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-01 16:18:56 (GMT)
committerGitHub <noreply@github.com>2017-05-01 16:18:56 (GMT)
commit5d7a8d0c13737fd531b722ad76c505ef47aac96a (patch)
tree2ad8be6cb6bc56b9e8847468aad7edb1416472b5 /Misc/NEWS
parent1374dbb6940f29c49c2966551a06015857c942cc (diff)
downloadcpython-5d7a8d0c13737fd531b722ad76c505ef47aac96a.zip
cpython-5d7a8d0c13737fd531b722ad76c505ef47aac96a.tar.gz
cpython-5d7a8d0c13737fd531b722ad76c505ef47aac96a.tar.bz2
bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)
* #30190 / unittest / assertAlmostEqual(delta=...) / error msg: show the difference between the 2 numbers in case of failure * safe_repr() diff * also show difference when passing 'places' argument * refactoring * update Misc/NEWS
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 026beff..2a86c34 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,7 +10,7 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------
-- bpo-12414: sys.getsizeof() on a code object now returns the sizes
+- bpo-12414: sys.getsizeof() on a code object now returns the sizes
which includes the code struct and sizes of objects which it references.
Patch by Dong-hee Na.
@@ -317,6 +317,10 @@ Extension Modules
Library
-------
+- bpo-30190: unittest's assertAlmostEqual and assertNotAlmostEqual provide a
+ better message in case of failure which includes the difference between
+ left and right arguments. (patch by Giampaolo Rodola')
+
- bpo-30101: Add support for curses.A_ITALIC.
- bpo-29822: inspect.isabstract() now works during __init_subclass__. Patch