Fix tests cleanup
This commit is contained in:
parent
45acfa2b1c
commit
1bdcc9f44e
|
@ -26,8 +26,7 @@ class TestFsub(unittest.TestCase):
|
|||
|
||||
limit = len(ofiles)
|
||||
for i, ifile in enumerate(ifiles):
|
||||
if i == limit:
|
||||
break
|
||||
if i < limit:
|
||||
out = open(ifile)
|
||||
result = out.read()
|
||||
out.close()
|
||||
|
|
Loading…
Reference in New Issue