1
0
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:
Sergey Fedoseev
2018-07-09 20:13:40 +05:00
committed by Tim Graham
parent 3411c5551a
commit c9088cfc7b
3 changed files with 6 additions and 6 deletions

View File

@@ -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 = (