From 54cb483fc060311010cf0658baf81b9c702c390e Mon Sep 17 00:00:00 2001 From: aarif Date: Mon, 23 Sep 2019 15:30:18 +0500 Subject: [PATCH] python 3 fixes --- common/djangoapps/student/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/student/tests/test_views.py b/common/djangoapps/student/tests/test_views.py index 10ba4dc152..a88c82642d 100644 --- a/common/djangoapps/student/tests/test_views.py +++ b/common/djangoapps/student/tests/test_views.py @@ -749,7 +749,7 @@ class StudentDashboardTests(SharedModuleStoreTestCase, MilestonesTestCaseMixin, schedule = ScheduleFactory(start=self.THREE_YEARS_AGO + timedelta(days=1), enrollment=enrollment) response = self.client.get(reverse('dashboard')) - dashboard_html = self._remove_whitespace_from_html_string(response.content) + dashboard_html = self._remove_whitespace_from_html_string(response.content.decode('utf-8')) access_expired_substring = 'Accessexpired' course_link_class = 'course-target-link'