(v)
| 68 | |
| 69 | |
| 70 | def pretty_format(v) -> str: |
| 71 | if isinstance(v, dict): |
| 72 | return json.dumps(v, indent=4, ensure_ascii=False) |
| 73 | |
| 74 | if isinstance(v, requests.structures.CaseInsensitiveDict): |
| 75 | return json.dumps(dict(v.items()), indent=4, ensure_ascii=False) |
| 76 | |
| 77 | return repr(utils.omit_long_data(v)) |
| 78 | |
| 79 | |
| 80 | def run_step_request(runner: HttpRunner, step: TStep) -> StepResult: |