|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] tests/avocado/mem-addr-space-check: Replace assertEquals() for Python 3.12 |
Date: | Thu, 16 Nov 2023 07:59:58 +0100 |
User-agent: | Mozilla Thunderbird |
On 16/11/23 07:19, Thomas Huth wrote:
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 Signed-off-by: Thomas Huth <thuth@redhat.com> --- Note: The test has just been merged, that's why I missed this file in my earlier patch that replaces the assertEquals()
Ah my bad! I was also wondering... Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/avocado/mem-addr-space-check.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |