1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed supports_binary_field flag as all backends support them

It was mainly for MySQL on Python 3, but now the current
recommended MySQL driver for Python 3 (mysqlclient) does support
binary fields, it is unneeded. Refs #20377.
This commit is contained in:
Claude Paroz
2015-01-11 21:18:56 +01:00
parent d563e3be68
commit 68a439a18d
5 changed files with 0 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ try:
except ImportError:
sqlparse = None
from django import test
from django.db import connection, migrations, models, transaction
from django.db.migrations.migration import Migration
from django.db.migrations.state import ProjectState
@@ -669,7 +668,6 @@ class OperationTests(OperationTestBase):
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.