CBL-Mariner/SPECS-EXTENDED/python-unittest2/unittest2-1.1.0-fix-Mutable...

17 строки
583 B
Diff

--- unittest2/compatibility.py.orig 2020-01-09 15:15:21.502803247 +0100
+++ unittest2/compatibility.py 2020-01-09 15:15:53.970890967 +0100
@@ -1,3 +1,4 @@
+import collections.abc as abc
import collections
import os
import sys
@@ -140,7 +141,7 @@
### ChainMap (helper for configparser and string.Template)
########################################################################
+class ChainMap(abc.MutableMapping):
-class ChainMap(collections.MutableMapping):
''' A ChainMap groups multiple dicts (or other mappings) together
to create a single, updateable view.