[Python-checkins] cpython: What's New in Python 3.3: mention unittest.mock

victor.stinner python-checkins at python.org
Tue Sep 18 22:45:40 CEST 2012


http://hg.python.org/cpython/rev/cffb815e6de4
changeset:   79046:cffb815e6de4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Sep 18 22:40:03 2012 +0200
summary:
  What's New in Python 3.3: mention unittest.mock

files:
  Doc/whatsnew/3.3.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -69,6 +69,7 @@
 * :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 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list