mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
34a5cb6d84
commit
861f724d03
5 changed files with 53 additions and 52 deletions
|
@ -32,4 +32,4 @@ class QueryCPUModelExpansion(QemuSystemTest):
|
|||
model = {'name': c['name']}
|
||||
e = self.vm.cmd('query-cpu-model-expansion', model=model,
|
||||
type='full')
|
||||
self.assertEquals(e['model']['name'], c['name'])
|
||||
self.assertEqual(e['model']['name'], c['name'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue