summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2010-11-11 15:30:13 +0000
committerLuke Plant <L.Plant.98@cantab.net>2010-11-11 15:30:13 +0000
commitd7b8d07cf21ca058251a5e21a7d0dd356aefe00c (patch)
treecf2460da669debed6c15f8fb2282d91a8fda0896 /docs/ref/forms
parent79ab8cad03847146029f9f686aedfbdc8168807d (diff)
[1.2.X] Fixed #14508 - test suite silences warnings.
Utility functions get_warnings_state and save_warnings_state have been added to django.test.utils, and methods to django.test.TestCase for convenience. The implementation is based on the catch_warnings context manager from Python 2.6. Backport of [14526] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions