Fix Python negative unsigned default values

Closes #993
This commit is contained in:
William S Fulton 2017-05-20 23:57:15 +01:00
commit 81ba06e59e
4 changed files with 11 additions and 0 deletions

View file

@ -32,6 +32,8 @@ def run(module_name):
f.newname()
f.newname(1)
f.defaulted1()
f.defaulted2()
if f.double_if_void_ptr_is_null(2, None) != 4:
raise RuntimeError