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 8617d76 commit bda7921Copy full SHA for bda7921
1 file changed
Lib/test/test_ctypes/test_pointers.py
@@ -475,8 +475,8 @@ class C(Structure):
475
476
class TestPointerStringProto(unittest.TestCase):
477
def test_pointer_string_proto_argtypes_error(self):
478
-
479
- BadType = ctypes.POINTER("BugTrigger")
+ with self.assertWarns(DeprecationWarning):
+ BadType = ctypes.POINTER("BugTrigger")
480
481
if os.name == "nt":
482
libc = ctypes.WinDLL("kernel32.dll")
0 commit comments