diff options
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index c6c1f6c03..bec358480 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -179,7 +179,7 @@ def check_complex(config, mathlibs): try: if os.uname()[0] == "Interix": - warnings.warn("Disabling broken complex support. See #1365") + warnings.warn("Disabling broken complex support. See #1365", stacklevel=2) return priv, pub except: # os.uname not available on all platforms. blanket except ugly but safe |