From 29890c1f2911026a2a7b3b32391f75ade06a9c51 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sat, 16 Sep 2023 18:08:33 +0100 Subject: [PATCH] Ignore linux-only os.CLONE_* constants in Python 3.12 in import test --- test/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_utils.py b/test/test_utils.py index c6b8011c..f17fc246 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -81,7 +81,7 @@ class TestSetupReadline(unittest.TestCase): if all(not x.startswith('from os import ' + s) for s in ['_', 'O_', 'EX_', 'MFD_', 'SF_', 'ST_', 'CLD_', 'POSIX_SPAWN_', 'P_', 'RWF_', - 'SCHED_']) + 'CLONE_', 'SCHED_']) } # There are quite a few differences, because both Windows and Linux # (posix and nt) libraries are included.