code: def test_priority_decompressed_gt_raw(self, tmp_path):
      # We don't need to actually compress here. Adding the suffix is sufficient
      self._make_file(
          tmp_path, content="raw_sentinel", name="file.txt.gz"
      )
      file = self._make_file(
          tmp_path, content="decompressed_sentinel", name="file.txt"
      )
  
      resource = self.DummyResource(file_name=file.name)
  
      dp = resource.load(tmp_path)
      path, buffer = next(iter(dp))
  
      assert path == str(file)
      assert buffer.read().decode() == "decompressed_sentinel"
  
imports: import gzip
  import pathlib
  import sys
  import numpy
  import pytest
  import torch
  from datasets_utils import make_fake_flo_file, make_tar
  from torchdata.datapipes.iter import FileOpener, TarArchiveLoader
  from torchvision.datasets._optical_flow import _read_flo
  from torchvision.datasets.utils import _decompress
  from torchvision.prototype.datasets.utils import Dataset, GDriveResource, HttpResource, OnlineResource
  from torchvision.prototype.datasets.utils._internal import fromfile, read_flo
label_desc: Use image node_id 7 for calling the TestOnlineResource obj's underlying member method code with example usage: obj.test_priority_decompressed_gt_raw(tmp_path) without return types