diff --git a/xarray/core/options.py b/xarray/core/options.py index 71358916243..1d916ff0f7c 100644 --- a/xarray/core/options.py +++ b/xarray/core/options.py @@ -56,7 +56,7 @@ def _positive_integer(value): FILE_CACHE_MAXSIZE: _positive_integer, KEEP_ATTRS: lambda choice: choice in [True, False, "default"], WARN_FOR_UNCLOSED_FILES: lambda value: isinstance(value, bool), - USE_BOTTLENECK: lambda choice: choice in [True, False], + USE_BOTTLENECK: lambda value: isinstance(value, bool), }