Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stopped hiding the original exception's message when a selenium drive…

…r's instantiation fails.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c8703189966ef9ce0c9dd300270bf442fa2bf7b6 1 parent a65eed3
@jphalip jphalip authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/admin/
4 django/contrib/admin/
@@ -18,9 +18,9 @@ def setUpClass(cls):
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()
Please sign in to comment.
Something went wrong with that request. Please try again.