diff options
author | Brandon Maier <brandon.maier@collins.com> | 2024-06-04 16:16:05 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-07-03 07:36:33 +0100 |
commit | 357bfca5e616c7fc003cce1ddda44016660cf75f (patch) | |
tree | 4d45866d92d8a4e197404acc64451c2ffb04015b /arch/sandbox/lib | |
parent | a8729a260b53b9a2fce2607ac90744a47f96daef (diff) |
tools: binman: fix deprecated Python unittest methods
The methods `unittest.assertEquals()` and
`unittest.assertRegexpMatches()` are marked deprecated[1].
In Python 3.12 these aliases have been removed, so do a sed to replace
them with their new names.
[1] https://docs.python.org/3.11/library/unittest.html#deprecated-aliases
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
CC: Simon Glass <sjg@chromium.org>
CC: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/lib')
0 files changed, 0 insertions, 0 deletions