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:
Hans-Christoph Steiner 2016-06-10 12:02:03 +02:00
parent f68830127e
commit 547a57e693
3 changed files with 10 additions and 10 deletions

View file

@ -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)