diff --git a/common/lib/xmodule/xmodule/tests/test_import.py b/common/lib/xmodule/xmodule/tests/test_import.py index 16c82753a5..04a4e84f73 100644 --- a/common/lib/xmodule/xmodule/tests/test_import.py +++ b/common/lib/xmodule/xmodule/tests/test_import.py @@ -385,7 +385,7 @@ class ImportTestCase(BaseCourseTestCase): print("course errors:") # Expect to find an error/exception about characters in "®esources" - expect = "Invalid characters in '®esources'" + expect = "Invalid characters" errors = [(msg.encode("utf-8"), err.encode("utf-8")) for msg, err in modulestore.get_item_errors(course.location)]