mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 21:19:30 +08:00
bugfix: numeric types should include long and complex
This commit is contained in:
@@ -13,9 +13,11 @@ from requests.structures import CaseInsensitiveDict
|
||||
|
||||
try:
|
||||
string_type = basestring
|
||||
long_type = long
|
||||
PYTHON_VERSION = 2
|
||||
except NameError:
|
||||
string_type = str
|
||||
long_type = int
|
||||
PYTHON_VERSION = 3
|
||||
|
||||
SECRET_KEY = "DebugTalk"
|
||||
|
||||
Reference in New Issue
Block a user