From 7884a8c9f5f5c6657413dbeaa59ad969280d38ea Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Sat, 23 Jan 2016 15:58:58 +0100 Subject: ENH: Add stacklevel to all (or almost all) our function calls --- numpy/distutils/misc_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/distutils/misc_util.py') diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 2cd185332..0070678d3 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -2206,7 +2206,7 @@ def default_config_dict(name = None, parent_name = None, local_path=None): 'deprecated default_config_dict(%r,%r,%r)' % (name, parent_name, local_path, name, parent_name, local_path, - )) + ), stacklevel=2) c = Configuration(name, parent_name, local_path) return c.todict() -- cgit v1.2.1