From eb221e8076f142aa8645bbfd47dff857a71d8b9e Mon Sep 17 00:00:00 2001 From: Ayub khan Date: Wed, 4 Sep 2019 13:00:38 +0500 Subject: [PATCH] BOM-331 python3 compatibility --- lms/djangoapps/courseware/tests/test_split_module.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lms/djangoapps/courseware/tests/test_split_module.py b/lms/djangoapps/courseware/tests/test_split_module.py index eccd1beed6..ddb7ff41e6 100644 --- a/lms/djangoapps/courseware/tests/test_split_module.py +++ b/lms/djangoapps/courseware/tests/test_split_module.py @@ -124,18 +124,18 @@ class SplitTestBase(SharedModuleStoreTestCase): 'chapter': self.chapter.url_name, 'section': self.sequential.url_name} )) - content = resp.content + unicode_content = resp.content.decode(resp.charset) # Assert we see the proper icon in the top display self.assertIn( u'