← 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/466173
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=ad54b62ef8b15947e486ffa3c2efe4618d119a81
Submitter: Jenkins
Branch:    master

commit ad54b62ef8b15947e486ffa3c2efe4618d119a81
Author: Luong Anh Tuan <tuanla@xxxxxxxxxxxxxx>
Date:   Fri May 19 18:12:55 2017 +0700

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


** Changed in: tacker
       Status: In Progress => 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:
  Fix Released
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