summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dad675600..db8bc7d53 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)