diff options
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ if not getattr(unittest_legacy, "__package__", None): import unittest2 as unittest from unittest2 import SkipTest except ImportError: - sys.exit("You have to install python-unittest2 to use this module") + raise ImportError("You have to install python-unittest2 to use %s" % __name__) else: import unittest from unittest import SkipTest |