versionadded and versionchanged for asserts

This commit is contained in:
Benjamin Peterson 2011-05-26 23:13:39 -05:00
parent e56838cb6c
commit 606ea870f0
1 changed files with 9 additions and 0 deletions

View File

@ -160,6 +160,15 @@ easy to rewrite the assertion and avoid any trouble::
All assert debugging can be turned off by passing ``--assertmode=off``.
.. versionadded:: 2.1
Add assert rewriting as an alternate debugging technique.
.. versionchanged:: 2.1
Introduce the ``--assertmode`` option. Deprecate ``--no-assert`` and
``--nomagic``.
..
Defining your own comparison
----------------------------------------------