def METHOD_NAME(self):
    def NoNullHandle(value):
        if not value:
            raise WinError()
        return value
    strchr = lib.my_strchr
    strchr.restype = c_char_p
    strchr.argtypes = (c_char_p, c_char)
    self.assertEqual(strchr("abcdefghi", "b"), "bcdefghi")
    self.assertEqual(strchr("abcdefghi", "x"), None)
    strtok = lib.my_strtok
    strtok.restype = c_char_p
    # Neither of this does work: strtok changes the buffer it is passed