diff options
| author | Tim Graham <timograham@gmail.com> | 2016-03-31 11:49:12 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-03-31 12:16:31 -0400 |
| commit | a0e3cbaa2bcbab682dfc3fb2998c3b43b21a3741 (patch) | |
| tree | 1f14667704c351be1166465e284623d5db9b60a6 /tests | |
| parent | d58a324bea2df202bc09bd887f564c3f8e35b2ec (diff) | |
[1.9.x] Refs #26384, #24995 -- Skipped a schema test on older MySQL versions.
Backport of f3595b25496691966d4ff858a3b395735ad85a6e from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/schema/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 24007352b9..eb657f4fbe 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1819,6 +1819,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 |
