Skip to content

Commit f6b6ee6

Browse files
committed
Ignore coverage for quick fix unitl I can get a better spec in place
1 parent a1af26e commit f6b6ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_jwt_extended/view_decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def decorator(*args, **kwargs):
123123
# Compatibility with flask < 2.0
124124
try:
125125
return current_app.ensure_sync(fn)(*args, **kwargs)
126-
except AttributeError as e:
126+
except AttributeError as e: # pragma: no cover
127127
if str(e) != "'Flask' object has no attribute 'ensure_sync'":
128128
raise
129129
return fn(*args, **kwargs)

0 commit comments

Comments
 (0)