Skip to content

Commit 6bffe50

Browse files
Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725)
Fixes warnings in test added in bpo-34603. (cherry picked from commit 4642d5f)
1 parent b57f800 commit 6bffe50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ctypes/test/test_win32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class S(Structure):
6868
for i, f in enumerate(fields):
6969
value = getattr(res, f[0])
7070
expected = bytes([ord('a') + i])
71-
self.assertEquals(value, expected)
71+
self.assertEqual(value, expected)
7272

7373

7474

0 commit comments

Comments
 (0)