From 1711c509faf3111bdf5a3a860b2cd01c0dc5d233 Mon Sep 17 00:00:00 2001 From: Pavel Savchenko Date: Wed, 26 Oct 2016 23:10:17 +0200 Subject: Fixed #27391 -- Implemented SimpleTestCase.debug(). debug() should bubbled up exceptions if occurring in test, but behave the same as run() when no exceptions occurred. --- docs/topics/testing/tools.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 41652cbee1..13ae83dc80 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -775,6 +775,11 @@ If your tests make any database queries, use subclasses :exc:`unittest.SkipTest` in ``setUpClass()``, be sure to do it before calling ``super()`` to avoid this. +.. versionchanged:: 3.1 + + The ``debug()`` method was implemented to allow running a test without + collecting the result and catching exceptions. + ``TransactionTestCase`` ----------------------- -- cgit v1.3