code: def test_extract_archive_defer_to_decompress(
      self, extension, remove_finished, mocker
  ):
      filename = "foo"
      file = f"{filename}{extension}"
  
      mocked = mocker.patch("torchvision.datasets.utils._decompress")
      utils.extract_archive(file, remove_finished=remove_finished)
  
      mocked.assert_called_once_with(
          file, filename, remove_finished=remove_finished
      )
  
imports: import contextlib
  import gzip
  import os
  import pathlib
  import re
  import tarfile
  import zipfile
  import pytest
  import torch
  import torchvision.datasets.utils
  from common_utils import assert_equal
  from torch._utils_internal import get_file_path_2
  from torchvision.datasets.folder import make_dataset
  from torchvision.datasets.utils import _COMPRESSED_FILE_OPENERS
label_desc: Use image node_id 12 for calling the TestDatasetsUtils obj's underlying member method code with example usage: obj.test_extract_archive_defer_to_decompress(extension, remove_finished, mocker) without return types