diff options
author | Tim Graham <timograham@gmail.com> | 2023-02-24 00:00:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 06:00:00 +0100 |
commit | 40e88ae8c899bcae3a9520f7a6519dd178185f85 (patch) | |
tree | ca9d30f79bbca226f6e7130c8e3d688a95602cef /tests/schema | |
parent | 16c966ff7fc9ce01e3afd87ef2af55859cadb587 (diff) | |
download | django-40e88ae8c899bcae3a9520f7a6519dd178185f85.tar.gz |
Refs #34320 -- Added skipIf for a test requiring check constraints.
Diffstat (limited to 'tests/schema')
-rw-r--r-- | tests/schema/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 836b02f07f..5a03ac6fd5 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -2073,6 +2073,9 @@ class SchemaTests(TransactionTestCase): with self.assertRaises(IntegrityError): NoteRename.objects.create(detail_info=None) + @skipUnlessDBFeature( + "supports_column_check_constraints", "can_introspect_check_constraints" + ) @isolate_apps("schema") def test_rename_field_with_check_to_truncated_name(self): class AuthorWithLongColumn(Model): |