From dfeef8e1472eadf7c3d350f6ee7328352e5953f0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 21 May 2014 06:54:24 -0400 Subject: [PATCH] Skipped a migrations test that's not supported on MySQL + Python 3. --- tests/migrations/test_operations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index 0c3b5216b1..5012f7b587 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -7,6 +7,7 @@ try: except ImportError: sqlparse = None +from django import test from django.db import connection, migrations, models, router from django.db.migrations.migration import Migration from django.db.migrations.state import ProjectState @@ -422,6 +423,7 @@ class OperationTests(MigrationTestBase): self.assertEqual(pony.digits, "42") self.assertEqual(pony.quotes, '"\'"') + @test.skipUnlessDBFeature('supports_binary_field') def test_add_binaryfield(self): """ Tests the AddField operation on TextField/BinaryField.