test-fb-hgext-extutil.py: fix some python3 warning

Summary:
This is reported while running with buck. assertEquals is renamed to
assertEqual

Reviewed By: quark-zju

Differential Revision: D19665159

fbshipit-source-id: cb7c25901005c6a97f2c703c4773ea01232943b1
This commit is contained in:
Xavier Deguillard 2020-01-31 10:49:34 -08:00 committed by Facebook Github Bot
parent daaeb5012a
commit 77e09b4e47

View File

@ -56,12 +56,12 @@ class ExtutilTests(unittest.TestCase):
with extutil.flock(opener.join(name), "testing a lock", timeout=0):
otherlock = self.otherprocesslock(opener, name)
self.assertEquals(
self.assertEqual(
otherlock, locktimeout, "other process should not have taken the lock"
)
otherlock = self.otherprocesslock(opener, name)
self.assertEquals(
self.assertEqual(
otherlock, locksuccess, "other process should have taken the lock"
)