summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-07-22 08:20:45 -0700
committerGitHub <noreply@github.com>2022-07-22 08:20:45 -0700
commit45bc13e6d922690eea43b9d807d476e0f243f836 (patch)
tree5887f903128528976fb24f9789ecd4cf1646b623 /numpy
parentff6ea60a553070db5b5c92b98076e03089875e74 (diff)
parent0723ee83deb5b130dee2cf7f88b8e610797e01c2 (diff)
downloadnumpy-45bc13e6d922690eea43b9d807d476e0f243f836.tar.gz
Merge pull request #22017 from mattip/include-order
ENH: reorder includes for testing on top of system installations of NumPy
Diffstat (limited to 'numpy')
-rw-r--r--numpy/testing/_private/extbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/_private/extbuild.py b/numpy/testing/_private/extbuild.py
index b7a071e7f..9b4e95366 100644
--- a/numpy/testing/_private/extbuild.py
+++ b/numpy/testing/_private/extbuild.py
@@ -102,7 +102,7 @@ def compile_extension_module(
dirname = builddir / name
dirname.mkdir(exist_ok=True)
cfile = _convert_str_to_file(source_string, dirname)
- include_dirs = [sysconfig.get_config_var('INCLUDEPY')] + include_dirs
+ include_dirs = include_dirs + [sysconfig.get_config_var('INCLUDEPY')]
return _c_compile(
cfile, outputfilename=dirname / modname,