summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-12-13 09:17:54 -0800
committerEric Wieser <wieser.eric@gmail.com>2017-12-13 09:17:54 -0800
commit3096c505990c972fa505f843e5420f6f02744400 (patch)
tree8be6ebe1ce070bc8e2f451319383e552dd709f7c /numpy/ma/core.py
parent7df73defce92506b4b67b37ed1c9164347f0f986 (diff)
downloadnumpy-3096c505990c972fa505f843e5420f6f02744400.tar.gz
BUG: Fix broken format string picked up by LGTM.com
Fixes regression I introduced in gh-10192
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index 04c1c1a6a..69f341e8f 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -7864,7 +7864,7 @@ def _pickle_warn(method):
# NumPy 1.15.0, 2017-12-10
warnings.warn(
"np.ma.{method} is deprecated, use pickle.{method} instead"
- .format(method),
+ .format(method=method),
DeprecationWarning,
stacklevel=3)