diff options
Diffstat (limited to 'tests/schema')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 57c344ce8d..0ab5bb0363 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -527,7 +527,7 @@ class SchemaTests(TransactionTestCase): UniqueTest.objects.create(year=2011, slug="bar") self.assertRaises(IntegrityError, UniqueTest.objects.create, year=2012, slug="foo") UniqueTest.objects.all().delete() - # Alter the model to it's non-unique-together companion + # Alter the model to its non-unique-together companion with connection.schema_editor() as editor: editor.alter_unique_together( UniqueTest, |
