opnsense-ports/devel/py-unittest2/files/extra-patch-python310
Franco Fichtner 24782f30f1 devel/py-unittest2: sync with upstream
Taken from: FreeBSD
2022-07-08 13:00:38 +02:00

11 lines
477 B
Text

--- unittest2/compatibility.py.orig 2014-10-29 10:51:58 UTC
+++ unittest2/compatibility.py
@@ -140,7 +140,7 @@ except ImportError:
### ChainMap (helper for configparser and string.Template)
########################################################################
-class ChainMap(collections.MutableMapping):
+class ChainMap(collections.abc.MutableMapping):
''' A ChainMap groups multiple dicts (or other mappings) together
to create a single, updateable view.