Skip to content

Commit

Permalink
tests: assertEquals -> assertEqual
Browse files Browse the repository at this point in the history
The former is removed in Python 3.13

QubesOS/qubes-issues#9402
  • Loading branch information
marmarek committed Aug 21, 2024
1 parent b15d688 commit d8ec9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesappmenus/tests_integ.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_000_created(self, vm=None):
assert all(x.startswith(prefix) for x in appmenus)
appmenus = [x[len(prefix):] for x in appmenus]
assert all(x.endswith('.desktop') for x in appmenus)
self.assertEquals(set(whitelisted), set(appmenus))
self.assertEqual(set(whitelisted), set(appmenus))
self.assertPathExists(self.appmenus.icons_dir(vm))
appicons = os.listdir(self.appmenus.icons_dir(vm))
whitelisted_icons = set()
Expand All @@ -114,7 +114,7 @@ def test_000_created(self, vm=None):
appmenu))))
if desktop.getIcon():
whitelisted_icons.add(os.path.basename(desktop.getIcon()))
self.assertEquals(set(whitelisted_icons), set(appicons))
self.assertEqual(set(whitelisted_icons), set(appicons))

def test_001_created_registered(self):
"""Check whether appmenus was registered in desktop environment"""
Expand Down

0 comments on commit d8ec9ff

Please sign in to comment.