1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Skipped a migrations test that's not supported on MySQL + Python 3.

This commit is contained in:
Tim Graham 2014-05-21 06:54:24 -04:00
parent 27a3cfcd77
commit dfeef8e147

View File

@ -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.