← 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/466172
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=21994297cf86600723d7db7339d110ede9574051
Submitter: Jenkins
Branch:    master

commit 21994297cf86600723d7db7339d110ede9574051
Author: Luong Anh Tuan <tuanla@xxxxxxxxxxxxxx>
Date:   Fri May 19 18:02:35 2017 +0700

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


** Changed in: watcher
       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 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