summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-05-21 06:54:24 -0400
committerTim Graham <timograham@gmail.com>2014-05-21 06:54:24 -0400
commitdfeef8e1472eadf7c3d350f6ee7328352e5953f0 (patch)
tree0380f7169cbf9a0101a5fd956a1776693291544e /tests
parent27a3cfcd77d2b8b3e89ba29852523cf342351a43 (diff)
Skipped a migrations test that's not supported on MySQL + Python 3.
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_operations.py2
1 files changed, 2 insertions, 0 deletions
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.