Fixed typo in docs/topics/testing/tools.txt.
This commit is contained in:
parent
8b7347220f
commit
7ce4ef58c9
|
@ -637,7 +637,7 @@ to test the effects of commit and rollback:
|
||||||
used in ``TestCase``, no actual commit or rollback will be performed by the
|
used in ``TestCase``, no actual commit or rollback will be performed by the
|
||||||
database. This can cause your tests to pass or fail unexpectedly. Always
|
database. This can cause your tests to pass or fail unexpectedly. Always
|
||||||
use ``TransactionTestCase`` when testing transactional behavior or any code
|
use ``TransactionTestCase`` when testing transactional behavior or any code
|
||||||
that can't normally be excuted in autocommit mode
|
that can't normally be executed in autocommit mode
|
||||||
(:meth:`~django.db.models.query.QuerySet.select_for_update()` is an
|
(:meth:`~django.db.models.query.QuerySet.select_for_update()` is an
|
||||||
example).
|
example).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue