← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1436957] Re: assertRaisesRegexp has been deprecated for assertRaisesRegex

 

Reviewed:  https://review.openstack.org/466599
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=fc1ca5d2c524854b20e7504b28cc279b6af6a7a1
Submitter: Jenkins
Branch:    master

commit fc1ca5d2c524854b20e7504b28cc279b6af6a7a1
Author: rajat29 <rajat.sharma@xxxxxxxxxxxxxxxxxx>
Date:   Mon May 22 11:37:26 2017 +0530

    Replace assertRaisesRegexp with assertRaisesRegex
    
    This replaces the deprecated (in python 3.2) unittest.TestCase
    method assertRaisesRegexp() with assertRaisesRegex()
    
    Closes-Bug: #1436957
    
    Change-Id: I7e2eb18c1b5ecdd1691d7a51087b8a29ca152d89


** Changed in: python-magnumclient
       Status: New => Fix Released

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

Title:
  assertRaisesRegexp has been deprecated for assertRaisesRegex

Status in OpenStack Identity (keystone):
  In Progress
Status in python-keystoneclient:
  Fix Released
Status in python-magnumclient:
  Fix Released
Status in tacker:
  In Progress
Status in watcher:
  Fix Released

Bug description:
  I am trying to enable tests using tap format for keystone, once I ran
  nosetests --with-tap, a warning message was shown for
  keystoneclient/tests/unit/test_session.py:238: Pending
  DeprecationWarning: Please use assertRegex instead

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