87c586051f
inspect.getargspec is gone in Python 3.11. unittest.TestCase.assertRaisesRegex is preferred to unittest.TestCase.assertRaisesRegexp. Change-Id: Ib6ec492e8c892424ab408a96696df346c3bbfde3 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>