mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
remaining-gnu-error.py: fix an error when mismatche for real
This commit is contained in:
parent
bd95daf634
commit
d48e533a57
1 changed files with 6 additions and 2 deletions
|
@ -37,8 +37,12 @@ for d in data:
|
||||||
a = a.replace(".pl", ".xpl")
|
a = a.replace(".pl", ".xpl")
|
||||||
|
|
||||||
# the tests pass, we don't care anymore
|
# the tests pass, we don't care anymore
|
||||||
if data[d][e] == "PASS" and a in list_of_files:
|
if data[d][e] == "PASS":
|
||||||
list_of_files.remove(a)
|
try:
|
||||||
|
list_of_files.remove(a)
|
||||||
|
except ValueError:
|
||||||
|
# Ignore the error
|
||||||
|
pass
|
||||||
|
|
||||||
# Remove the factor tests and reverse the list (bigger first)
|
# Remove the factor tests and reverse the list (bigger first)
|
||||||
tests = list(filter(lambda k: "factor" not in k, list_of_files))
|
tests = list(filter(lambda k: "factor" not in k, list_of_files))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue