From 2b281cc35ed9d997614ca3c416928d7fabfef1ad Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 7 Jan 2017 12:11:46 +0100 Subject: Refs #23919 -- Removed most of remaining six usage Thanks Tim Graham for the review. --- tests/model_fields/test_binaryfield.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/model_fields/test_binaryfield.py') diff --git a/tests/model_fields/test_binaryfield.py b/tests/model_fields/test_binaryfield.py index 641dc17287..9d97d1118f 100644 --- a/tests/model_fields/test_binaryfield.py +++ b/tests/model_fields/test_binaryfield.py @@ -1,6 +1,5 @@ from django.core.exceptions import ValidationError from django.test import TestCase -from django.utils import six from .models import DataModel @@ -9,7 +8,7 @@ class BinaryFieldTests(TestCase): binary_data = b'\x00\x46\xFE' def test_set_and_retrieve(self): - data_set = (self.binary_data, six.memoryview(self.binary_data)) + data_set = (self.binary_data, memoryview(self.binary_data)) for bdata in data_set: dm = DataModel(data=bdata) dm.save() -- cgit v1.3