def METHOD_NAME(self):
    # Issue #1309352: fcntl shouldn't fail when the third arg fits in a
    # C 'long' but not in a C 'int'.
    try:
        cmd = fcntl.F_NOTIFY
        # This flag is larger than 2**31 in 64-bit builds
        flags = fcntl.DN_MULTISHOT
    except AttributeError:
        self.skipTest("F_NOTIFY or DN_MULTISHOT unavailable")
    fd = os.open(os.path.dirname(os.path.abspath(TESTFN)), os.O_RDONLY)
    try:
        fcntl.fcntl(fd, cmd, flags)
    finally:
        os.close(fd)