moto/moto/compat.py
Karthikeyan Singaravelan af853dc48f Fix linter errors.
2019-12-17 21:35:52 +05:30

11 lines
293 B
Python

try:
from collections import OrderedDict # noqa
except ImportError:
# python 2.6 or earlier, use backport
from ordereddict import OrderedDict # noqa
try:
import collections.abc as collections_abc # noqa
except ImportError:
import collections as collections_abc # noqa