]> granicus.if.org Git - python/commitdiff
What's New in Python 3.3: mention unittest.mock
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 18 Sep 2012 20:40:03 +0000 (22:40 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 18 Sep 2012 20:40:03 +0000 (22:40 +0200)
Doc/whatsnew/3.3.rst

index caa838f353291e5287a63a7054bc5e0f0894a635..2aa41f916e212f3e69b88a5b8279f09e9aa26c88 100644 (file)
@@ -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