@classmethod
    def _is_fd_assigned(cls, fd):
        try:
            os.fstat(fd)
        except __HOLE__ as e:
            if e.errno == errno.EBADF:
                return False
            raise
        else:
            return True
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_multiprocessing.py/_TestConnection._is_fd_assigned