[
https://issues.apache.org/jira/browse/AVRO-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871012#comment-16871012
]
ASF subversion and git services commented on AVRO-2443:
-------------------------------------------------------
Commit d5f46ac8789f86aa29d4da756ac1b6a5d6a66f35 in avro's branch
refs/heads/master from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=d5f46ac ]
AVRO-2413: Refactor io.Validate to use a mapping (#516)
* AVRO-2413: Refactor Validate to Use a Mapping
* AVRO-2443: Fix Invalid AvroTypeException Invocation
> 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
> 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)