Automated tests use a deprecated method, assertRaisesRegexp()

Bug #1655461 reported by Richard G. Pioso on 2017-01-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The following automated test source modules use a deprecated method, assertRaisesRegexp():


When python-dracclient's automated tests are executed with tox, the following warnings are emitted:

/home/user/python-dracclient/dracclient/tests/ DeprecationWarning: Please use assertRaisesRegex instead.
../home/user/python-dracclient/dracclient/tests/ DeprecationWarning: Please use assertRaisesRegex instead.

Dmitry Tantsur (divius) wrote :

IIRC the problem is that assertRaisesRegex is not in Python 2..

Changed in python-dracclient:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers