diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2016-01-23 15:58:58 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2016-09-02 16:39:17 +0200 |
commit | 7884a8c9f5f5c6657413dbeaa59ad969280d38ea (patch) | |
tree | 91b55f723315291bf2605bb42aef809a65ff1d85 /numpy/distutils/fcompiler/gnu.py | |
parent | 9164f23c19c049e28d4d4825a53bbb01aedabcfc (diff) | |
download | numpy-7884a8c9f5f5c6657413dbeaa59ad969280d38ea.tar.gz |
ENH: Add stacklevel to all (or almost all) our function calls
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index 9697aa8db..fd49db492 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -137,7 +137,7 @@ class GnuFCompiler(FCompiler): os.environ['MACOSX_DEPLOYMENT_TARGET'] = target if target == '10.3': s = 'Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3' - warnings.warn(s) + warnings.warn(s, stacklevel=2) opt.extend(['-undefined', 'dynamic_lookup', '-bundle']) else: |