From 40e29ba29d6ec475a810f4e1ce7105729502f273 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Sun, 24 Mar 2019 11:47:32 -0700 Subject: [PATCH] Remove py37 collections.abc deprecation warning from lru_cache module. Looks like this occurrence was missing in #2574. --- xarray/backends/lru_cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xarray/backends/lru_cache.py b/xarray/backends/lru_cache.py index e407c384aaf..4be6efea7c0 100644 --- a/xarray/backends/lru_cache.py +++ b/xarray/backends/lru_cache.py @@ -1,8 +1,9 @@ import collections +import collections.abc import threading -class LRUCache(collections.MutableMapping): +class LRUCache(collections.abc.MutableMapping): """Thread-safe LRUCache based on an OrderedDict. All dict operations (__getitem__, __setitem__, __contains__) update the