diff --git a/astropy/utils/timer.py b/astropy/utils/timer.py index 30519b9f681..c9d0bacdb5f 100644 --- a/astropy/utils/timer.py +++ b/astropy/utils/timer.py @@ -4,7 +4,8 @@ # STDLIB import time import warnings -from collections import Iterable, OrderedDict +from collections import OrderedDict +from collections.abc import Iterable from functools import partial, wraps # THIRD-PARTY