diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.1.txt | 4 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index a42d71c855..a8aaa8e4f9 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -198,7 +198,9 @@ Templates Tests ~~~~~ -* ... +* :class:`~django.test.SimpleTestCase` now implements the ``debug()`` method to + allow running a test without collecting the result and catching exceptions. + This can be used to support running tests under a debugger. URLs ~~~~ 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`` ----------------------- |
