Commit 13dd5858 authored by Finn Bock's avatar Finn Bock

[SF bug 631713] use the import exeption message in the TestFailed

exception.
parent 3bba6660
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment