summaryrefslogtreecommitdiffstats
path: root/test/SWIG/module-deduced-name.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SWIG/module-deduced-name.py')
-rw-r--r--test/SWIG/module-deduced-name.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SWIG/module-deduced-name.py b/test/SWIG/module-deduced-name.py
index 6b4d6d9..14d23a2 100644
--- a/test/SWIG/module-deduced-name.py
+++ b/test/SWIG/module-deduced-name.py
@@ -39,8 +39,8 @@ swig = test.where_is('swig')
if not swig:
test.skip_test('Cannot find installed "swig", skipping test.\n')
-python, python_include, python_libpath, python_lib, python_h = \
- test.get_platform_python_info()
+python, python_include, python_libpath, python_lib = \
+ test.get_platform_python_info(python_h_required=True)
# On Windows, build a 32-bit exe if on 32-bit python.
if sys.platform == 'win32' and sys.maxsize <= 2**32: