Skip to content

Commit 02248d4

Browse files
Update test/image/make_baseline.py
Co-authored-by: Alex Johnson <[email protected]>
1 parent fe0502c commit 02248d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/image/make_baseline.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@
5858

5959
allNames = [a for a in allNames if all(b not in a for b in LAST)]
6060

61-
if HAD[0] : allNames.append(LAST[0])
62-
if HAD[1] : allNames.append(LAST[1])
63-
if HAD[2] : allNames.append(LAST[2])
61+
allNames += [item for item, had_item in zip(LAST, HAD) if had_item]
6462

6563
# unable to generate baselines for the following mocks
6664
blacklist = [

0 commit comments

Comments
 (0)