Subversion Repositories Remote Hare Voting

Rev

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

Rev 22 Rev 39
Line 24... Line 24...
24
        correct = fOut.read()
24
        correct = fOut.read()
25
        if result == correct:
25
        if result == correct:
26
            print "OK"
26
            print "OK"
27
        else:
27
        else:
28
            print "***** MISMATCH *****"
28
            print "***** MISMATCH *****"
-
 
29
            print "      EXPECTED:", correct
-
 
30
            print "      GOT:     ", result
29
    else:
31
    else:
30
        print "***** Creating output for " + filename + ": " + result,
32
        print "***** Creating output for " + filename + ": " + result,
31
        fOut = open(filenameOut, "w")
33
        fOut = open(filenameOut, "w")
32
        fOut.write(result)
34
        fOut.write(result)
33
 
35