From f3595b25496691966d4ff858a3b395735ad85a6e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 31 Mar 2016 11:49:12 -0400 Subject: [PATCH] Refs #26384, #24995 -- Skipped a schema test on older MySQL versions. --- tests/schema/tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 7882014c09..60b05854d0 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1820,6 +1820,10 @@ class SchemaTests(TransactionTestCase): ['schema_tag_slug_2c418ba3_like', 'schema_tag_slug_key'] ) + @unittest.skipIf( + connection.vendor == 'mysql' and connection.mysql_version < (5, 6, 6), + 'Skip known bug renaming primary keys on older MySQL versions (#24995).' + ) def test_alter_pk_with_self_referential_field(self): """ Changing the primary key field name of a model with a self-referential