Skip to content

Commit

Permalink
Import ABC from collections.abc instead of collections for Python 3 c…
Browse files Browse the repository at this point in the history
…ompatibility.
  • Loading branch information
tirkarthi committed Apr 11, 2020
1 parent b798cc2 commit fef336a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pytest-verbose-parametrize/pytest_verbose_parametrize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from six import string_types, text_type


Expand Down

0 comments on commit fef336a

Please sign in to comment.