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

@@ -655,7 +655,6 @@ class FileFieldTests(unittest.TestCase):
class BinaryFieldTests(test.TestCase):
binary_data = b'\x00\x46\xFE'
@test.skipUnlessDBFeature('supports_binary_field')
def test_set_and_retrieve(self):
data_set = (self.binary_data, six.memoryview(self.binary_data))
for bdata in data_set: