summaryrefslogtreecommitdiff
path: root/tests/db_typecasts
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-01-07 12:11:46 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 21:33:28 +0100
commit2b281cc35ed9d997614ca3c416928d7fabfef1ad (patch)
treed3e73cf44b15139aa9f1f53e398942ba64f5e190 /tests/db_typecasts
parent7b2f2e74adb36a4334e83130f6abc2f79d395235 (diff)
downloaddjango-2b281cc35ed9d997614ca3c416928d7fabfef1ad.tar.gz
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/db_typecasts')
-rw-r--r--tests/db_typecasts/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/db_typecasts/tests.py b/tests/db_typecasts/tests.py
index fa9eab164d..56d37c112d 100644
--- a/tests/db_typecasts/tests.py
+++ b/tests/db_typecasts/tests.py
@@ -4,7 +4,6 @@ import datetime
import unittest
from django.db.backends import utils as typecasts
-from django.utils import six
TEST_CASES = {
'typecast_date': (
@@ -53,7 +52,7 @@ TEST_CASES = {
class DBTypeCasts(unittest.TestCase):
def test_typeCasts(self):
- for k, v in six.iteritems(TEST_CASES):
+ for k, v in TEST_CASES.items():
for inpt, expected in v:
got = getattr(typecasts, k)(inpt)
self.assertEqual(