MCPcopy Create free account
hub / github.com/EasyIME/PIME / form_data_args

Function form_data_args

python/python3/tornado/test/httputil_test.py:28–34  ·  view source on GitHub ↗

Return two empty dicts suitable for use with parse_multipart_form_data. mypy insists on type annotations for dict literals, so this lets us avoid the verbose types throughout this test.

()

Source from the content-addressed store, hash-verified

26
27
28def form_data_args() -> Tuple[Dict[str, List[bytes]], Dict[str, List[HTTPFile]]]:
29 """Return two empty dicts suitable for use with parse_multipart_form_data.
30
31 mypy insists on type annotations for dict literals, so this lets us avoid
32 the verbose types throughout this test.
33 """
34 return {}, {}
35
36
37class TestUrlConcat(unittest.TestCase):

Calls

no outgoing calls

Tested by

no test coverage detected