1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

python: simplify the code a bit

This commit is contained in:
Sylvestre Ledru 2023-03-25 08:53:40 +01:00
parent f8e0a73fb5
commit 355d242e7a

View file

@ -59,7 +59,7 @@ for d in data:
sys.exit(1)
# if it is SKIP or ERROR, show it
if data[d][e] == "SKIP" or data[d][e] == "ERROR":
if data[d][e] in ("SKIP", "ERROR"):
list_of_files.remove(a)
error_or_skip_tests.append(a)