tests/avocado: Replace assertEquals() for Python 3.12 compatibility
commit861f724d03e1748cda1c5b9ec8457a368590cbd5
authorThomas Huth <thuth@redhat.com>
Tue, 14 Nov 2023 13:43:26 +0000 (14 14:43 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 16 Nov 2023 06:13:41 +0000 (16 07:13 +0100)
tree79b4afd147f2192bc24e4461f0755d594b878925
parent34a5cb6d8434303c170230644b2a7c1d5781d197
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>
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