2022-01-10 16:12:45 +00:00
|
|
|
---
|
|
|
|
|
pytest_verbose_parametrize.py | 5 ++++-
|
|
|
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
|
|
--- a/pytest_verbose_parametrize.py
|
|
|
|
|
+++ b/pytest_verbose_parametrize.py
|
2022-04-22 05:17:55 +00:00
|
|
|
@@ -1,4 +1,9 @@
|
2022-01-10 16:12:45 +00:00
|
|
|
-from collections import Iterable
|
|
|
|
|
+try:
|
|
|
|
|
+ from collections.abc import Iterable
|
2022-04-22 05:17:55 +00:00
|
|
|
+except ImportError:
|
|
|
|
|
+ from collections import Iterable
|
|
|
|
|
+except ModuleNotFoundError:
|
2022-01-10 16:12:45 +00:00
|
|
|
+ from collections import Iterable
|
|
|
|
|
from six import string_types, text_type
|
|
|
|
|
|
|
|
|
|
|