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

Fixed #16196 - Redundant or incorrect code in tests

Thanks to intelliyole and melinath for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant
2011-06-10 10:18:06 +00:00
parent 9e952be26f
commit 430b819967
11 changed files with 24 additions and 29 deletions

View File

@@ -131,7 +131,7 @@ class DummyCacheTests(unittest.TestCase):
u'ascii': u'ascii_value',
u'unicode_ascii': u'Iñtërnâtiônàlizætiøn1',
u'Iñtërnâtiônàlizætiøn': u'Iñtërnâtiônàlizætiøn2',
u'ascii': {u'x' : 1 }
u'ascii2': {u'x' : 1 }
}
for (key, value) in stuff.items():
self.cache.set(key, value)
@@ -317,7 +317,7 @@ class BaseCacheTests(object):
u'ascii': u'ascii_value',
u'unicode_ascii': u'Iñtërnâtiônàlizætiøn1',
u'Iñtërnâtiônàlizætiøn': u'Iñtërnâtiônàlizætiøn2',
u'ascii': {u'x' : 1 }
u'ascii2': {u'x' : 1 }
}
# Test `set`
for (key, value) in stuff.items():