Mercurial > cpython-lru_cache-weakref
diff Lib/test/support.py @ 68112:7f8da10bfcef
Fix imports from collections.abc
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Wed, 23 Feb 2011 00:46:28 +0000 |
| parents | 7f85fbc16cae |
| children | 614a8c7b9525 |
line wrap: on
line diff
--- a/Lib/test/support.py Wed Feb 23 00:21:43 2011 +0000 +++ b/Lib/test/support.py Wed Feb 23 00:46:28 2011 +0000 @@ -15,7 +15,7 @@ import warnings import unittest import importlib -import collections +import collections.abc import re import subprocess import imp @@ -682,7 +682,7 @@ sys.modules.update(self.original_modules) -class EnvironmentVarGuard(collections.MutableMapping): +class EnvironmentVarGuard(collections.abc.MutableMapping): """Class to help protect the environment variable properly. Can be used as a context manager."""
