summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorPavel Savchenko <asfaltboy@gmail.com>2016-10-26 23:10:17 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-18 12:22:51 +0200
commit1711c509faf3111bdf5a3a860b2cd01c0dc5d233 (patch)
tree84354e38d069e4ce0132288f9bbb0305d7934c4a /docs/topics/testing
parentdc8cd2fefd028913e3273927342374f5259cc566 (diff)
Fixed #27391 -- Implemented SimpleTestCase.debug().
debug() should bubbled up exceptions if occurring in test, but behave the same as run() when no exceptions occurred.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/tools.txt5
1 files changed, 5 insertions, 0 deletions
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``
-----------------------