This replaces the deprecated (in python 3.2) unittest.TestCase method assertRaisesRegexp() with assertRaisesRegex() Change-Id: I36c56032d4c3279d89c2b196a193196aad6aeeea