From 149b806fe50c7076e2a1e222cecf8fba6b6bdee8 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii Date: Fri, 4 Nov 2022 15:23:59 +0100 Subject: [PATCH] test(config-test): Remove libreadline check for version >= 3.12 --- tests/sources/python-config-test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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