code: def test_download_partial_no_check_remote(open_hdf5_s3, tmp_path):
      """Test that `_download_partial()` will not open the remote dataset if all requested attributes
      are present in the local dataset, and ``overwrite`` is ``False``.
      """
      local_dataset = Dataset.open(tmp_path / "dataset", "w")
      local_dataset.x = 1
      local_dataset.y = 2
  
      local_dataset.close()
  
      pennylane.data.data_manager._download_partial(
          "dataset_url",
          tmp_path / "dataset",
          ["x", "y"],
          overwrite=False,
          block_size=1,
      )
  
      open_hdf5_s3.assert_not_called()
  
imports: import os
  from pathlib import Path, PosixPath
  from unittest.mock import MagicMock, patch
  import pytest
  import requests
  import pennylane
  import pennylane.data.data_manager
  from pennylane.data import Dataset
  from pennylane.data.data_manager import S3_URL, DataPath, _validate_attributes
label_desc: Use image node_id 17 for calling a global function with example usage: test_download_partial_no_check_remote(open_hdf5_s3, tmp_path) without return types