summaryrefslogtreecommitdiff
path: root/test cases/python3
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python3')
-rw-r--r--test cases/python3/2 extmodule/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build
index 0ecc81336..4916a6905 100644
--- a/test cases/python3/2 extmodule/meson.build
+++ b/test cases/python3/2 extmodule/meson.build
@@ -14,6 +14,10 @@ if py3_dep.found()
py3,
args : files('blaster.py'),
env : ['PYTHONPATH=' + pypathdir])
+
+ # Check we can apply a version constraint
+ dependency('python3', version: '>=@0@'.format(py3_dep.version()))
+
else
error('MESON_SKIP_TEST: Python3 libraries not found, skipping test.')
endif