]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/avocado: Replace assertEquals() for Python 3.12 compatibility
authorThomas Huth <thuth@redhat.com>
Tue, 14 Nov 2023 13:43:26 +0000 (14:43 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Nov 2023 12:35:38 +0000 (15:35 +0300)
commit5e7f6afe987ffd41204f46bd40d2cb2b4f987ecd
treec30364135cc365127923d07ccd166cb24da8fbc8
parent983a4a828c64dba88386f3835d7e24528edbd29e
tests/avocado: Replace assertEquals() for Python 3.12 compatibility

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

Message-ID: <20231114134326.287242-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 861f724d03e1748cda1c5b9ec8457a368590cbd5)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: adjust context in pc_cpu_hotplug_props.py & cpu_queries.py for before
 v8.1.0-1582-g684750ab4f "python/qemu: rename command() to cmd()")
docs/devel/testing.rst
tests/avocado/cpu_queries.py
tests/avocado/empty_cpu_model.py
tests/avocado/pc_cpu_hotplug_props.py
tests/avocado/x86_cpu_model_versions.py