Skip to content

Commit

Permalink
Ignore linux-only os.CLONE_* constants in Python 3.12 in import test
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Sep 16, 2023
1 parent 159566e commit 29890c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_import(self):
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.
Expand Down

0 comments on commit 29890c1

Please sign in to comment.