Author: julien
Date: 2012-02-21 23:14:20 -0800 (Tue, 21 Feb 2012)
New Revision: 17575

Modified:
   django/trunk/django/contrib/admin/tests.py
Log:
Stopped hiding the original exception's message when a selenium driver's 
instantiation fails.

Modified: django/trunk/django/contrib/admin/tests.py
===================================================================
--- django/trunk/django/contrib/admin/tests.py  2012-02-22 07:14:10 UTC (rev 
17574)
+++ django/trunk/django/contrib/admin/tests.py  2012-02-22 07:14:20 UTC (rev 
17575)
@@ -18,9 +18,9 @@
             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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to