Logo
Explore Help
Sign In
Django/django
11
0
Fork 0
You've already forked django
Code Pull Requests Projects Releases Activity
django/tests/regressiontests/test_utils
History
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
Fixed #7441 - Improved the doctest OutputChecker to be more lenient with JSON an XML outputs. This is required so that output ordering that doesn't matter at a semantic level (such as the order of keys in a JSON dictionary, or attributes in an XML element) isn't caught as a test failure. Thanks to Leo Soto for the patch.
2008-07-19 14:46:55 +00:00
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
Powered by Gitea Version: 1.23.5 Page: 170ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API