From 3096c505990c972fa505f843e5420f6f02744400 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Wed, 13 Dec 2017 09:17:54 -0800 Subject: BUG: Fix broken format string picked up by LGTM.com Fixes regression I introduced in gh-10192 --- numpy/ma/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/ma') 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) -- cgit v1.2.1