mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-08 08:57:40 +08:00
fix #1300: ImportError: cannot import name 'Iterable' from 'collections'
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
from base64 import b64encode
|
||||
try:
|
||||
from collections.abc import Iterable
|
||||
except ImportError:
|
||||
from collections import Iterable
|
||||
|
||||
from jinja2 import escape
|
||||
|
||||
Reference in New Issue
Block a user