summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipapython/test_ipavalidate.py
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2018-07-04 10:07:49 +0200
committerChristian Heimes <cheimes@redhat.com>2018-07-05 19:45:10 +0200
commit198a2c61129675b928bb7a970d5fc4c63a032456 (patch)
tree379b0c0be78727343983310fe02ca86d160f1a7e /ipatests/test_ipapython/test_ipavalidate.py
parent53c549664795f54dbc337e45aeba84fbff843109 (diff)
downloadfreeipa-198a2c61129675b928bb7a970d5fc4c63a032456.tar.gz
freeipa-198a2c61129675b928bb7a970d5fc4c63a032456.tar.xz
freeipa-198a2c61129675b928bb7a970d5fc4c63a032456.zip
Import ABCs from collections.abc
Python 3 has moved all collection abstract base classes to collections.abc. Python 3.7 started to deprecate the old aliases. The whole import block needs to be protected with import-error and no-name-in-module, because Python 2 doesn't have collections.abc module and collections.abc.Mapping, while Python 3 doesn't have collections.Mapping. Fixes: https://pagure.io/freeipa/issue/7609 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Diffstat (limited to 'ipatests/test_ipapython/test_ipavalidate.py')
0 files changed, 0 insertions, 0 deletions