[
https://issues.apache.org/jira/browse/AVRO-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fokko Driesprong reassigned AVRO-2443:
--------------------------------------
Assignee: Michael A. Smith
> 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
> Assignee: Michael A. Smith
> Priority: Minor
>
> 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)