fix getting-started which claimed you need to avoid side effect in asserts

This commit is contained in:
holger krekel
2011-06-15 07:50:34 +02:00
parent 8772b8c928
commit 9ea58242d4
2 changed files with 9 additions and 16 deletions

View File

@@ -129,9 +129,12 @@ See the :ref:`reporting demo <tbreportdemo>` for many more examples.
.. _assert-details:
.. _`assert introspection`:
Assertion introspection details
-------------------------------
Advanced assertion introspection
----------------------------------
.. versionadded:: 2.1
Reporting details about the failing assertion is achieved either by rewriting
assert statements before they are run or re-evaluating the assert expression and