Skip to content

Commit 2b3b334

Browse files
committed
Remove useless list comprehension
Increase readability
1 parent ac91aea commit 2b3b334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self):
5656
self.tc1 = TC1()
5757
self.tc2 = TC2()
5858
self.tc3 = TC3()
59-
self.tests = [i for i in (self.tc1, self.tc2, self.tc3)]
59+
self.tests = [self.tc1, self.tc2, self.tc3]
6060

6161
def runAll(self):
6262
[i.run() for i in self.tests]

0 commit comments

Comments
 (0)