tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility
commitf0a663b4ced2bf315936c774c2b6ff398fce8905
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 14 Nov 2023 14:48:31 +0000 (14 15:48 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 16 Nov 2023 06:13:41 +0000 (16 07:13 +0100)
treee5c0cf41c9a244f0517faec90b837cdeadc72172
parent861f724d03e1748cda1c5b9ec8457a368590cbd5
tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility

assertRegexpMatches() has been removed in Python 3.12 and should be replaced by
assertRegex(). See: https://docs.python.org/3.12/whatsnew/3.12.html#id3

Inspired-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231114144832.71612-1-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
docs/devel/testing.rst
tests/avocado/version.py