From be05f12a621abcb999117c10c7b66f39cf620e01 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 6 Oct 2011 16:19:17 -0700 Subject: [PATCH] Move closing the file to an appropriate area. --- test/test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test.py b/test/test.py index 1fb2e72c8..46106965b 100644 --- a/test/test.py +++ b/test/test.py @@ -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: