← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1798594] Re: PendingDeprecationWarning: Please use assertRegex instead.

 

Reviewed:  https://review.openstack.org/611608
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e00f54e7e82fd7fe6c9d4f35a9177d59a8bead30
Submitter: Zuul
Branch:    master

commit e00f54e7e82fd7fe6c9d4f35a9177d59a8bead30
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Thu Oct 18 21:56:04 2018 +0900

    Use assertRegex instead of assertRegexpMatches
    
    In Python3, assertRegexpMatches & assertNotRegexpMatches
    are deprecated in favor of assertRegex and assertNotRegex.
    
    Change-Id: Ifd7cb0d548431095294ad40c99703604f0022888
    Closes-Bug: #1798594


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1798594

Title:
  PendingDeprecationWarning: Please use assertRegex instead.

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When executing 'tox -e functional-py35', the following deprecation warning is shown.
  It should be fixed.

  {3}
  nova.tests.functional.test_nova_manage.TestDBArchiveDeletedRows.test_archive_instance_group_members
  [4.945997s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
  (snipped...)
      b'/tmp/nova/nova/tests/functional/test_nova_manage.py:779: PendingDeprecationWarning: Please use assertRegex instead.'
      b'  ".*instance_group_member.*\\| 1.*")'
      b''

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1798594/+subscriptions


References