diff options
| author | Julien Phalip <jphalip@gmail.com> | 2012-02-22 07:14:20 +0000 |
|---|---|---|
| committer | Julien Phalip <jphalip@gmail.com> | 2012-02-22 07:14:20 +0000 |
| commit | c8703189966ef9ce0c9dd300270bf442fa2bf7b6 (patch) | |
| tree | bec618b36244d60a0e203278a6896b89571f06f0 | |
| parent | a65eed39425581b206f934dd6eed960af8a64f3e (diff) | |
Stopped hiding the original exception's message when a selenium driver's instantiation fails.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/admin/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/tests.py b/django/contrib/admin/tests.py index 7c4aebeca3..efe601e723 100644 --- a/django/contrib/admin/tests.py +++ b/django/contrib/admin/tests.py @@ -18,9 +18,9 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase): mod = import_module(module) WebDriver = getattr(mod, attr) cls.selenium = WebDriver() - except Exception: + except Exception, e: raise SkipTest('Selenium webdriver "%s" not installed or not ' - 'operational.' % cls.webdriver_class) + 'operational: %s' % (cls.webdriver_class, str(e))) super(AdminSeleniumWebDriverTestCase, cls).setUpClass() @classmethod |
