mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user