aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/tests')
-rw-r--r--djangorestframework/tests/oauthentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/oauthentication.py b/djangorestframework/tests/oauthentication.py
index 7f74b804..109d9a72 100644
--- a/djangorestframework/tests/oauthentication.py
+++ b/djangorestframework/tests/oauthentication.py
@@ -15,7 +15,7 @@ try:
from oauth_provider.decorators import oauth_required
from oauth_provider.models import Resource, Consumer, Token
-except:
+except ImportError:
pass
else: