mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed some assertTrue() that were intended to be assertEqual().
This commit is contained in:
committed by
Tim Graham
parent
3411c5551a
commit
c9088cfc7b
@@ -28,7 +28,7 @@ class TestEncodingUtils(SimpleTestCase):
|
||||
|
||||
def test_force_text_lazy(self):
|
||||
s = SimpleLazyObject(lambda: 'x')
|
||||
self.assertTrue(type(force_text(s)), str)
|
||||
self.assertIs(type(force_text(s)), str)
|
||||
|
||||
def test_force_text_DjangoUnicodeDecodeError(self):
|
||||
msg = (
|
||||
|
||||
Reference in New Issue
Block a user