def METHOD_NAME(self):
    # the example from the library docs
    self.f = open(TESTFN, 'wb')
    rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
    if verbose:
        print('Status from fcntl with O_NONBLOCK: ', rv)
    rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
    if verbose:
        print('String from fcntl with F_SETLKW: ', repr(rv))
    self.f.close()