ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / unittest2 / collections-compat.patch
blob350c9d71678371b6997a36e4898fecc25ee930f8
1 diff --git a/unittest2/compatibility.py b/unittest2/compatibility.py
2 index 9e5f1a5..473957c 100644
3 --- a/unittest2/compatibility.py
4 +++ b/unittest2/compatibility.py
5 @@ -1,4 +1,5 @@
6 import collections
7 +import collections.abc
8 import os
9 import sys
11 @@ -140,7 +141,7 @@ except ImportError:
12 ### ChainMap (helper for configparser and string.Template)
13 ########################################################################
15 -class ChainMap(collections.MutableMapping):
16 +class ChainMap(collections.abc.MutableMapping):
17 ''' A ChainMap groups multiple dicts (or other mappings) together
18 to create a single, updateable view.