summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-09-18 22:40:03 +0200
committerVictor Stinner <victor.stinner@gmail.com>2012-09-18 22:40:03 +0200
commit1da769a30295eb9e4acb5367b49c7cb21ca255cb (patch)
tree611188cce562c148ac7df04ae2b499813cb46261
parent6d10b4d591a91132e65850ab8d6f56d6e21a5356 (diff)
downloadcpython-git-1da769a30295eb9e4acb5367b49c7cb21ca255cb.tar.gz
What's New in Python 3.3: mention unittest.mock
-rw-r--r--Doc/whatsnew/3.3.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index caa838f353..2aa41f916e 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -69,6 +69,7 @@ New library modules:
* :mod:`faulthandler` (helps debugging low-level crashes)
* :mod:`ipaddress` (high-level objects representing IP addresses and masks)
* :mod:`lzma` (compress data using the XZ / LZMA algorithm)
+* :mod:`unittest.mock` (replace parts of your system under test with mock objects)
* :mod:`venv` (Python :ref:`virtual environments <pep-405>`, as in the
popular ``virtualenv`` package)
@@ -923,7 +924,7 @@ New Modules
faulthandler
------------
-This new debug module contains functions to dump Python tracebacks explicitly,
+This new debug module :mod:`faulthandler` contains functions to dump Python tracebacks explicitly,
on a fault (a crash like a segmentation fault), after a timeout, or on a user
signal. Call :func:`faulthandler.enable` to install fault handlers for the
:const:`SIGSEGV`, :const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS`, and