You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2019/06/21 06:10:00 UTC

[jira] [Created] (AVRO-2439) Remove a DeprecationWarning from Py3 test

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)