1
0
mirror of https://github.com/django/django.git synced 2024-11-20 00:14:08 +00:00
django/tests/regressiontests/test_utils
Luke Plant 02fc6276d7 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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 15:06:20 +00:00
..
__init__.py
models.py Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
python_25.py Rewrote a test assertion so that it doesn't fail under Python 2.7. Thanks to Florian Apolloner for the report. 2010-10-30 13:04:02 +00:00
tests.py Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +00:00