mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed unneeded force_text calls in the test suite
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user