We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e48186 commit d6941ffCopy full SHA for d6941ff
patchwork/tests/browser.py
@@ -23,7 +23,7 @@
23
24
try:
25
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
26
-except: # Django < 1.7
+except ImportError: # Django < 1.7
27
from django.test import LiveServerTestCase as StaticLiveServerTestCase
28
from selenium.common.exceptions import (
29
NoSuchElementException, StaleElementReferenceException,
0 commit comments