Re: [PATCH 1/3] tools: binman: fix deprecated Python unittest methods

2024-07-15 Thread Simon Glass
On Tue, 4 Jun 2024 at 10:16, Brandon Maier wrote: > > 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/

Re: [PATCH 1/3] tools: binman: fix deprecated Python unittest methods

2024-06-04 Thread Simon Glass
On Tue, 4 Jun 2024 at 10:16, Brandon Maier wrote: > > 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/

[PATCH 1/3] tools: binman: fix deprecated Python unittest methods

2024-06-04 Thread Brandon Maier
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