Control: tags -1 + upstream fixed-upstream pending
Control: forwarded -1 
https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/142

On Tue, 02 Jul 2024 at 14:40:06 +0200, Lucas Nussbaum wrote:
> >   File 
> > "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../tests/test-libaccountsservice.py",
> >  line 118, in test_multiple_inflight_get_user_by_id_calls
> >     self.assertEquals(user.get_user_name(), 'pizza')
> >     ^^^^^^^^^^^^^^^^^
> > AttributeError: 'TestAccountsServicePreExistingUser' object has no 
> > attribute 'assertEquals'. Did you mean: 'assertEqual'?

This is a regression caused by Python 3.12 becoming the default version.
The deprecated method assertEquals() was removed:
https://docs.python.org/3/whatsnew/3.12.html#unittest-testcase-removed-aliases

This was fixed in upstream git a while ago, and I've pushed that change
to Salsa as a patch.

I didn't do a team upload with that fix, because I don't yet have a
solution to the other RC bugs involving autopkgtest failures (#1033147,
#1034257).

    smcv

Reply via email to