mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Revert rev. 59925, it breaks comtypes (I need to further examine this).
This commit is contained in:
parent
d7e1b2bd17
commit
99120c4f7e
2 changed files with 0 additions and 11 deletions
|
@ -123,11 +123,5 @@ class CFuncPtrTestCase(unittest.TestCase):
|
|||
self.failUnlessEqual(strtok(None, "\n"), "c")
|
||||
self.failUnlessEqual(strtok(None, "\n"), None)
|
||||
|
||||
def test_NULL_funcptr(self):
|
||||
tp = CFUNCTYPE(c_int)
|
||||
func = tp() # NULL function pointer
|
||||
# raise a ValueError when we try to call it
|
||||
self.assertRaises(ValueError, func)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue