code: def test_auto_dataloader_warning(
      distributed_context_single_node_gloo,
  ):
      with pytest.warns(
          UserWarning, match=r"Found batch_sampler in provided kwargs"
      ):
          auto_dataloader(
              DummyDS(),
              batch_sampler=BatchSampler(
                  SequentialSampler(range(10)),
                  batch_size=3,
                  drop_last=False,
              ),
          )
  
imports: import os
  import pytest
  import torch
  import torch.nn
  import torch.optim
  from torch.utils.data import DataLoader
  from torch.utils.data.dataloader import _InfiniteConstantSampler
  from torch.utils.data.dataset import Dataset, IterableDataset
  from torch.utils.data.distributed import DistributedSampler
  from torch.utils.data.sampler import BatchSampler, RandomSampler, Sampler, SequentialSampler, WeightedRandomSampler
  import ignite.distributed
  from ignite.distributed.auto import auto_dataloader, auto_model, auto_optim, DistributedProxySampler
label_desc: Use image node_id 1 for calling a global function with example usage: test_auto_dataloader_warning(distributed_context_single_node_gloo) without return types