summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_encoding.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils_tests/test_encoding.py')
-rw-r--r--tests/utils_tests/test_encoding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests/test_encoding.py b/tests/utils_tests/test_encoding.py
index 614029ad12..c461df71ee 100644
--- a/tests/utils_tests/test_encoding.py
+++ b/tests/utils_tests/test_encoding.py
@@ -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 = (