Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ test_invalid_formdata_params2
Function
test_invalid_formdata_params2
tests/test_formdata.py:55–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
54
55
def
test_invalid_formdata_params2() -> None:
56
with
pytest.raises(TypeError):
57
FormData(
"as"
)
# 2-char str is not allowed
58
59
60
async
def
test_formdata_textio_charset(buf: bytearray, writer) -> None:
Callers
nothing calls this directly
Calls
1
FormData
Class · 0.90
Tested by
no test coverage detected