Skip to content

Commit

Permalink
AVRO-2577: Don't Count Failure as Success
Browse files Browse the repository at this point in the history
  • Loading branch information
kojiromike committed Oct 25, 2019
1 parent 1041b3a commit de97081
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lang/py3/avro/tests/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,11 @@ def testValidCastToStringAfterParse(self):
try:
protocol.Parse(str(proto))
except ProtocolParseException:
logging.debug(
'Failed to reparse protocol:\n%s',
example.protocol_string)
logging.debug(
'Successfully reparsed protocol:\n%s',
example.protocol_string)
logging.debug('Failed to reparse protocol:\n%s',
example.protocol_string)
continue
logging.debug('Successfully reparsed protocol:\n%s',
example.protocol_string)
num_correct += 1

fail_msg = (
Expand Down

0 comments on commit de97081

Please sign in to comment.