Piotr Gołąb created AVRO-2443:
---------------------------------

             Summary: Python: incorrect call of AvroTypeException 
                 Key: AVRO-2443
                 URL: https://issues.apache.org/jira/browse/AVRO-2443
             Project: Apache Avro
          Issue Type: Bug
          Components: python
            Reporter: Piotr Gołąb


There is a bug in the Validate function for py3 validator.

[https://github.com/apache/avro/blob/master/lang/py3/avro/io.py#L149]

The `AvroTypeException` will fail (if ever reached), because the exception 
accepts two arguments: `expected_schema, datum`. 

 

This issue was found here: 
[https://github.com/apache/avro/pull/516/files#r287870842] and might be as well 
fixed in AVRO-2413.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to