Skip to content

Commit

Permalink
More coverage fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedorn committed Jan 4, 2022
1 parent 7e59bc5 commit d799cce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tastypie/compat.py
Expand Up @@ -72,5 +72,5 @@ def compare_sanitized_tokens(request_csrf_token, csrf_token):

class InvalidTokenFormat(Exception): # noqa
pass
except ImportError:
raise ImportError("Couldn't find a way to compare csrf tokens safely")
except ImportError: # pragma: no cover
raise ImportError("Couldn't find a way to compare csrf tokens safely") # pragma: no cover

0 comments on commit d799cce

Please sign in to comment.