We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3956b73 commit 2705c63Copy full SHA for 2705c63
xarray/core/options.py
@@ -56,7 +56,7 @@ def _positive_integer(value):
56
FILE_CACHE_MAXSIZE: _positive_integer,
57
KEEP_ATTRS: lambda choice: choice in [True, False, "default"],
58
WARN_FOR_UNCLOSED_FILES: lambda value: isinstance(value, bool),
59
- USE_BOTTLENECK: lambda choice: choice in [True, False],
+ USE_BOTTLENECK: lambda value: isinstance(value, bool),
60
}
61
62
0 commit comments