mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
Merge pull request #374 from HttpRunner/bugfix
bugfix: TypeError when variable value is list
This commit is contained in:
@@ -315,7 +315,7 @@ def print_io(in_out):
|
||||
for variable, value in in_out.items():
|
||||
if isinstance(value, tuple):
|
||||
continue
|
||||
elif isinstance(value, dict):
|
||||
elif isinstance(value, (dict, list)):
|
||||
value = json.dumps(value)
|
||||
|
||||
if is_py2:
|
||||
|
||||
Reference in New Issue
Block a user