mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-23 00:23:45 +08:00
fix #1300: ImportError: cannot import name 'Iterable' from 'collections'
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from base64 import b64encode
|
||||
from collections import Iterable
|
||||
try:
|
||||
from collections.abc import Iterable
|
||||
except ImportError:
|
||||
from collections import Iterable
|
||||
|
||||
from jinja2 import escape
|
||||
from requests.cookies import RequestsCookieJar
|
||||
|
||||
Reference in New Issue
Block a user