Kengo Seki created AVRO-2439:
--------------------------------

             Summary: 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


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)

Reply via email to