mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Move closing the file to an appropriate area.
This commit is contained in:
parent
86efbe8d00
commit
be05f12a62
1 changed files with 2 additions and 3 deletions
|
@ -456,8 +456,6 @@ def checkEq(task, results, browser, masterMode):
|
|||
|
||||
if passed:
|
||||
print 'TEST-PASS | eq test', task['id'], '| in', browser
|
||||
if State.eqLog:
|
||||
State.eqLog.close();
|
||||
|
||||
def checkFBF(task, results, browser):
|
||||
round0, round1 = results[0], results[1]
|
||||
|
@ -544,7 +542,8 @@ def runTests(options, browsers):
|
|||
teardownBrowsers(browsers)
|
||||
t2 = time.time()
|
||||
print "Runtime was", int(t2 - t1), "seconds"
|
||||
|
||||
if State.eqLog:
|
||||
State.eqLog.close();
|
||||
if options.masterMode:
|
||||
maybeUpdateRefImages(options, browsers[0])
|
||||
elif options.reftest and State.numEqFailures > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue