diff --git a/Lib/ctypes/test/test_win32.py b/Lib/ctypes/test/test_win32.py index ee722704a35..a2941f3fe07 100644 --- a/Lib/ctypes/test/test_win32.py +++ b/Lib/ctypes/test/test_win32.py @@ -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)