mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 16:59:34 +08:00
fix unittests
This commit is contained in:
@@ -77,7 +77,7 @@ def type_match(check_value, expect_value):
|
||||
def get_type(name):
|
||||
if isinstance(name, type):
|
||||
return name
|
||||
elif isinstance(name, str, bytes):
|
||||
elif isinstance(name, str):
|
||||
try:
|
||||
return __builtins__[name]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user