Hi Thomas,

On 14/11/23 14:43, 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

From this list I see assertEquals() has been deprecated in 3.2, along
with assertRegexpMatches(). No warning for this single use?

tests/avocado/version.py:25: self.assertRegexpMatches(res, r'^(\d+\.\d+\.\d)')

Otherwise,
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Signed-off-by: Thomas Huth <th...@redhat.com>
---
  docs/devel/testing.rst                  |  2 +-
  tests/avocado/cpu_queries.py            |  2 +-
  tests/avocado/empty_cpu_model.py        |  2 +-
  tests/avocado/pc_cpu_hotplug_props.py   |  2 +-
  tests/avocado/x86_cpu_model_versions.py | 96 ++++++++++++-------------
  5 files changed, 52 insertions(+), 52 deletions(-)


Reply via email to