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

Removed unneeded force_text calls in the test suite

This commit is contained in:
Claude Paroz
2017-01-24 12:22:42 +01:00
parent 5b95d421f7
commit 2366100872
32 changed files with 132 additions and 165 deletions

View File

@@ -24,7 +24,7 @@ class TestEncodingUtils(unittest.TestCase):
def test_force_text_lazy(self):
s = SimpleLazyObject(lambda: 'x')
self.assertTrue(issubclass(type(force_text(s)), str))
self.assertTrue(type(force_text(s)), str)
def test_force_bytes_exception(self):
"""