Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Fix collections import deprecation #9777

Merged
merged 1 commit into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cfme/common/provider.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime
from collections import defaultdict
from collections import Iterable
from collections.abc import Iterable

import attr
from manageiq_client.api import APIException
Expand Down
2 changes: 1 addition & 1 deletion cfme/fixtures/templates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Mapping
from collections.abc import Mapping

import pytest
from aenum import NamedConstant
Expand Down
2 changes: 1 addition & 1 deletion cfme/utils/bz.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import re
from collections import Sequence
from collections.abc import Sequence

from bugzilla import Bugzilla as _Bugzilla
from cached_property import cached_property
Expand Down
2 changes: 1 addition & 1 deletion cfme/utils/db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Mapping
from collections.abc import Mapping
from contextlib import contextmanager

from cached_property import cached_property
Expand Down
2 changes: 1 addition & 1 deletion cfme/utils/events_db.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Library for event testing.
"""
from collections import Iterable
from collections.abc import Iterable
from contextlib import contextmanager
from datetime import datetime
from numbers import Number
Expand Down
2 changes: 1 addition & 1 deletion cfme/utils/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
The main clue to know what is limited by the filters and what isn't is the 'filters' parameter.
"""
import operator
from collections import Mapping
from collections import OrderedDict
from collections.abc import Mapping
from copy import copy

from cfme.common.provider import all_types
Expand Down