Automated tests use a deprecated method, assertRaisesRegexp()

Bug #1655461 reported by Richard G. Pioso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dracclient
Triaged
Low
Unassigned

Bug Description

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

.../python-dracclient/dracclient/tests:
    test_bios.py
    test_utils.py

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

/home/user/python-dracclient/dracclient/tests/test_bios.py:417: DeprecationWarning: Please use assertRaisesRegex instead.
../home/user/python-dracclient/dracclient/tests/test_utils.py:54: DeprecationWarning: Please use assertRaisesRegex instead.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.