Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725)
Fixes warnings in test added in bpo-34603.
(cherry picked from commit 4642d5f598
)
This commit is contained in:
parent
b57f800b35
commit
6bffe50f5f
|
@ -68,7 +68,7 @@ class ReturnStructSizesTestCase(unittest.TestCase):
|
|||
for i, f in enumerate(fields):
|
||||
value = getattr(res, f[0])
|
||||
expected = bytes([ord('a') + i])
|
||||
self.assertEquals(value, expected)
|
||||
self.assertEqual(value, expected)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue