summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ctypes/test/test_functions.py')
-rw-r--r--Lib/ctypes/test/test_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_functions.py b/Lib/ctypes/test/test_functions.py
index 45d74ec9e8..07eeb68924 100644
--- a/Lib/ctypes/test/test_functions.py
+++ b/Lib/ctypes/test/test_functions.py
@@ -306,7 +306,7 @@ class FunctionTestCase(unittest.TestCase):
f.argtypes = [c_longlong, MyCallback]
def callback(value):
- self.assertTrue(isinstance(value, int))
+ self.assertIsInstance(value, int)
return value & 0x7FFFFFFF
cb = MyCallback(callback)