diff options
author | mbyt <random.seed@web.de> | 2016-08-31 22:33:47 +0200 |
---|---|---|
committer | mbyt <random.seed@web.de> | 2016-08-31 22:33:47 +0200 |
commit | 696a9112beacdaf970d06809dcb0fd04e69325e9 (patch) | |
tree | 70d905fc7c9d4a32499e75b143d0db9d71e904ca /doc | |
parent | be08223d5a057a64cbfaf332ee1b934412479b24 (diff) | |
download | pytest-696a9112beacdaf970d06809dcb0fd04e69325e9.tar.gz |
integrating review commets of @nicoddemus
plus small scale refactoring
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/unittest.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/en/unittest.rst b/doc/en/unittest.rst index 9e0b4973d..e4c09ee24 100644 --- a/doc/en/unittest.rst +++ b/doc/en/unittest.rst @@ -33,6 +33,13 @@ distributing tests to multiple CPUs via the ``-nNUM`` option if you installed the ``pytest-xdist`` plugin. Please refer to the general ``pytest`` documentation for many more examples. +.. note:: + + Running tests from ``unittest.TestCase`` subclasses with ``--pdb`` will + disable tearDown and cleanup methods for the case that an Exception is + occurs. This allows proper post mortem debugging for all applications + which have significant logic in their tearDown machinery. + Mixing pytest fixtures into unittest.TestCase style tests ----------------------------------------------------------- |