diff --git a/Lib/test/test_frozen.py b/Lib/test/test_frozen.py index 120a85f67a4..dd4fa66cd89 100644 --- a/Lib/test/test_frozen.py +++ b/Lib/test/test_frozen.py @@ -6,17 +6,17 @@ import sys, os try: import __hello__ except ImportError, x: - raise TestFailed, "import __hello__ failed:", x + raise TestFailed, "import __hello__ failed:" + str(x) try: import __phello__ except ImportError, x: - raise TestFailed, "import __phello__ failed:", x + raise TestFailed, "import __phello__ failed:" + str(x) try: import __phello__.spam except ImportError, x: - raise TestFailed, "import __phello__.spam failed:", x + raise TestFailed, "import __phello__.spam failed:" + str(x) try: import __phello__.foo