summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_funcptr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ctypes/test/test_funcptr.py')
-rw-r--r--Lib/ctypes/test/test_funcptr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_funcptr.py b/Lib/ctypes/test/test_funcptr.py
index 13bf4088bf..ff25c8febd 100644
--- a/Lib/ctypes/test/test_funcptr.py
+++ b/Lib/ctypes/test/test_funcptr.py
@@ -75,7 +75,7 @@ class CFuncPtrTestCase(unittest.TestCase):
## "lpfnWndProc", WNDPROC_2(wndproc))
# instead:
- self.assertTrue(WNDPROC is WNDPROC_2)
+ self.assertIs(WNDPROC, WNDPROC_2)
# 'wndclass.lpfnWndProc' leaks 94 references. Why?
self.assertEqual(wndclass.lpfnWndProc(1, 2, 3, 4), 10)