]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 14 Nov 2023 14:48:31 +0000 (15:48 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Nov 2023 12:35:38 +0000 (15:35 +0300)
commit8328d7962106709fcb4f48e20a43291ffa872b55
treef26e19baa1a2c69dfd88eff62d3ca6c8fc10120a
parent5e7f6afe987ffd41204f46bd40d2cb2b4f987ecd
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>
(cherry picked from commit f0a663b4ced2bf315936c774c2b6ff398fce8905)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: adjust context for before v8.1.0-1582-g684750ab4f
 "python/qemu: rename command() to cmd()")
docs/devel/testing.rst
tests/avocado/version.py