Subversion Repositories Local Hare Voting

Rev

Rev 51 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51 Rev 56
Line 27... Line 27...
27
        correct = fOut.read()
27
        correct = fOut.read()
28
        if result == correct:
28
        if result == correct:
29
            print "OK"
29
            print "OK"
30
        else:
30
        else:
31
            print "***** MISMATCH *****"
31
            print "***** MISMATCH *****"
32
            print "      EXPECTED:", correct
32
            print "      EXPECTED: '" + correct + "'"
33
            print "      GOT:     ", result
33
            print "      GOT:      '" + result + "'"
34
    else:
34
    else:
35
        print "***** Creating output for " + filename + ": " + result,
35
        print "***** Creating output for " + filename + ": " + result,
36
        fOut = open(filenameOut, "w")
36
        fOut = open(filenameOut, "w")
37
        fOut.write(result)
37
        fOut.write(result)
38
 
38