Python2 uses assertRaisesRegexp while Python3 uses assertRaisesRegex. Use the compatability shim in six for this: https://pythonhosted.org/six/#unittest-assertions Change-Id: I28ce94207567e0b3c28c634119757a1d68e955f2 Closes-Bug: #1462370
Python2 uses assertRaisesRegexp while Python3 uses assertRaisesRegex. Use the compatability shim in six for this: https://pythonhosted.org/six/#unittest-assertions Change-Id: I28ce94207567e0b3c28c634119757a1d68e955f2 Closes-Bug: #1462370