mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #11665 -- Made TestCase check deferrable constraints after each test.
This commit is contained in:
@@ -333,7 +333,8 @@ Templates
|
||||
Tests
|
||||
~~~~~
|
||||
|
||||
* ...
|
||||
* To better catch bugs, :class:`~django.test.TestCase` now checks deferrable
|
||||
database constraints at the end of each test.
|
||||
|
||||
URLs
|
||||
~~~~
|
||||
@@ -541,6 +542,9 @@ Miscellaneous
|
||||
aggregate function now returns a ``float`` instead of ``decimal.Decimal``.
|
||||
(It's still wrapped in a measure of square meters.)
|
||||
|
||||
* Tests that violate deferrable database constraints will now error when run on
|
||||
a database that supports deferrable constraints.
|
||||
|
||||
.. _deprecated-features-1.10:
|
||||
|
||||
Features deprecated in 1.10
|
||||
|
||||
Reference in New Issue
Block a user