diff --git a/tests/sources/python-config-test.py b/tests/sources/python-config-test.py index 9ebcf24..de8a61d 100644 --- a/tests/sources/python-config-test.py +++ b/tests/sources/python-config-test.py @@ -78,6 +78,7 @@ if os_type == 'Darwin': exit(1) ### Validate libreadline -if not have_libreadline: - print('Missing libreadline') - exit(1) +if sys.version_info < (3, 12): + if not have_libreadline: + print('Missing libreadline') + exit(1) \ No newline at end of file