mirror of
https://github.com/django/django.git
synced 2025-03-25 16:50:45 +00:00
[1.6.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 7ce4ef58c9 from master
This commit is contained in:
parent
faff723770
commit
1cfb1052ee
@ -624,7 +624,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…
x
Reference in New Issue
Block a user