[
https://issues.apache.org/jira/browse/AVRO-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fokko Driesprong updated AVRO-2439:
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.10.0
Status: Resolved (was: Patch Available)
> Remove a DeprecationWarning from Py3 test
> -----------------------------------------
>
> Key: AVRO-2439
> URL: https://issues.apache.org/jira/browse/AVRO-2439
> Project: Apache Avro
> Issue Type: Test
> Components: python
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Trivial
> Fix For: 1.10.0
>
>
> Ran tests for Python3 and found the following warning:
> {code}
> testDuplicateRecordField (avro.tests.test_schema.TestSchema) ...
> /home/sekikn/repo/avro/lang/py3/avro/tests/test_schema.py:646:
> DeprecationWarning: Please use assertRegex instead.
> self.assertRegexpMatches(str(e.exception), 'Duplicate.*field name.*foo')
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)