diff --git a/tests/modeltests/schema/tests.py b/tests/modeltests/schema/tests.py index f679624538..6ac72b4c02 100644 --- a/tests/modeltests/schema/tests.py +++ b/tests/modeltests/schema/tests.py @@ -119,6 +119,7 @@ class SchemaTests(TestCase): DatabaseError, lambda: list(Author.objects.all()), ) + connection.rollback() @skipUnless(connection.features.supports_foreign_keys, "No FK support") def test_fk(self):