summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2016-01-23 15:58:58 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2016-09-02 16:39:17 +0200
commit7884a8c9f5f5c6657413dbeaa59ad969280d38ea (patch)
tree91b55f723315291bf2605bb42aef809a65ff1d85 /numpy/ma/extras.py
parent9164f23c19c049e28d4d4825a53bbb01aedabcfc (diff)
downloadnumpy-7884a8c9f5f5c6657413dbeaa59ad969280d38ea.tar.gz
ENH: Add stacklevel to all (or almost all) our function calls
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index aefdd4e49..a05ea476b 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -1344,7 +1344,7 @@ def corrcoef(x, y=None, rowvar=True, bias=np._NoValue, allow_masked=True,
msg = 'bias and ddof have no effect and are deprecated'
if bias is not np._NoValue or ddof is not np._NoValue:
# 2015-03-15, 1.10
- warnings.warn(msg, DeprecationWarning)
+ warnings.warn(msg, DeprecationWarning, stacklevel=2)
# Get the data
(x, xnotmask, rowvar) = _covhelper(x, y, rowvar, allow_masked)
# Compute the covariance matrix