Fixes exception comparing bytes in py3

Result (failing/passing) should stay the same across pythons, but the
message on the AssertionError differs from 2 to 3.

So result is always tested, failmsg only for py3.