We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b070ad5 commit ef1e633Copy full SHA for ef1e633
Lib/test/test_ctypes/test_win32.py
@@ -144,8 +144,8 @@ class RECT(Structure):
144
self.assertEqual(ret.top, top.value)
145
self.assertEqual(ret.bottom, bottom.value)
146
147
- self.assertEqual(id(PointInRect.argtypes[0]), id(ReturnRect.argtypes[2]))
148
- self.assertEqual(id(PointInRect.argtypes[0]), id(ReturnRect.argtypes[5]))
+ self.assertIs(PointInRect.argtypes[0], ReturnRect.argtypes[2])
+ self.assertIs(PointInRect.argtypes[0], ReturnRect.argtypes[5])
149
150
151
if __name__ == '__main__':
0 commit comments