code: def test_dataloader_kwargs_replacement_with_iterable_dataset():
      """Test that DataLoader kwargs are not replaced when using Iterable Dataset."""
      dataset = RandomIterableDataset(7, 100)
      dataloader = DataLoader(dataset, batch_size=32)
      _, dl_kwargs = _get_dataloader_init_args_and_kwargs(
          dataloader, dataloader.sampler
      )
      assert dl_kwargs["sampler"] is None
      assert dl_kwargs["batch_sampler"] is None
      assert dl_kwargs["batch_size"] is dataloader.batch_size
      assert dl_kwargs["dataset"] is dataloader.dataset
      assert dl_kwargs["collate_fn"] is dataloader.collate_fn
  
imports: import contextlib
  import os
  import random
  from unittest import mock
  from unittest.mock import Mock
  import lightning.fabric
  import numpy
  import pytest
  import torch
  from lightning.fabric.utilities.data import AttributeDict, _get_dataloader_init_args_and_kwargs, _replace_dunder_methods, _replace_value_in_saved_args, _set_sampler_epoch, _update_dataloader, _WrapAttrTag, has_iterable_dataset, has_len, suggested_max_num_workers
  from lightning.fabric.utilities.exceptions import MisconfigurationException
  from lightning_utilities.test.warning import no_warning_call
  from torch import Tensor
  from torch.utils.data import BatchSampler, DataLoader, RandomSampler
  from tests_fabric.helpers.models import RandomDataset, RandomIterableDataset
label_desc: Use image node_id 14 for calling a global function with example usage: test_dataloader_kwargs_replacement_with_iterable_dataset() without return types