docs: def acquire_win(lock_file):  # pragma: no cover
      """Acquire a lock file on windows."""
      try:
          fd = os.open(lock_file, OPEN_MODE)
      except OSError:
          pass
      else:
          try:
              msvcrt.locking(fd, msvcrt.LK_NBLCK, 1)
          except (IOError, OSError):
              os.close(fd)
          else:
              return fd