mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-04 16:31:05 +03:00
fix "DeprecationWarning: Please use assertEqual instead."
They've been deprecated since python 3.2, which was released a long time ago.
This commit is contained in:
parent
f68830127e
commit
547a57e693
3 changed files with 10 additions and 10 deletions
|
@ -44,7 +44,7 @@ class MetadataTest(unittest.TestCase):
|
|||
self.assertTrue(appid in apps)
|
||||
with open(savepath, 'rb') as f:
|
||||
frompickle = pickle.load(f)
|
||||
self.assertEquals(frommeta, frompickle)
|
||||
self.assertEqual(frommeta, frompickle)
|
||||
# Uncomment to overwrite
|
||||
# with open(savepath, 'wb') as f:
|
||||
# pickle.dump(frommeta, f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue