Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/encode/httpx
/ test_reason_phrase_for_status_code
Function
test_reason_phrase_for_status_code
tests/test_status_codes.py:22–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
21
22
def
test_reason_phrase_for_status_code():
23
assert httpx.codes.get_reason_phrase(404) ==
"Not Found"
24
25
26
def
test_reason_phrase_for_unknown_status_code():
Callers
nothing calls this directly
Calls
1
get_reason_phrase
Method · 0.80
Tested by
no test coverage detected