Skip to content

Commit

Permalink
Add pragma: no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Nov 20, 2024
1 parent 0ebbc70 commit 043d326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/protocols/http/httptools_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
try:
# Enable dangerous leniencies to allow server to a response on the first request from a pipelined request.
self.parser.set_dangerous_leniencies(lenient_data_after_close=True)
except AttributeError:
except AttributeError: # pragma: no cover
# httptools < 0.6.3
pass

Expand Down

0 comments on commit 043d326

Please sign in to comment.