Moving notes for assertNumQueries next to the other changes to test infrastructure

This commit is contained in:
Dominic Rodger 2013-12-12 14:48:54 +00:00
parent 7d44b5d5d0
commit cddb1e95b9
1 changed files with 3 additions and 3 deletions

View File

@ -534,6 +534,9 @@ Tests
in :class:`~django.test.Client` instantiation and are processed through in :class:`~django.test.Client` instantiation and are processed through
middleware. middleware.
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
out the list of executed queries if the assertion fails.
Backwards incompatible changes in 1.7 Backwards incompatible changes in 1.7
===================================== =====================================
@ -713,9 +716,6 @@ Miscellaneous
``select_related('foo').select_related('bar')``. Previously the latter would ``select_related('foo').select_related('bar')``. Previously the latter would
have been equivalent to ``select_related('bar')``. have been equivalent to ``select_related('bar')``.
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
out the list of executed queries if the assertion fails.
Features deprecated in 1.7 Features deprecated in 1.7
========================== ==========================