mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 22:47:26 +03:00
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:
parent
daaeb5012a
commit
77e09b4e47
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user