code: def test_override_behavior():
      class DS1(InMemoryDataset):
          def __init__(self):
              self.enter_download = False
              self.enter_process = False
              super().__init__()
  
          def _download(self):
              self.enter_download = True
  
          def _process(self):
              self.enter_process = True
  
          def download(self):
              pass
  
          def process(self):
              pass
  
      class DS2(InMemoryDataset):
          def __init__(self):
              self.enter_download = False
              self.enter_process = False
              super().__init__()
  
          def _download(self):
              self.enter_download = True
  
          def _process(self):
              self.enter_process = True
  
          def process(self):
              pass
  
      class DS3(InMemoryDataset):
          def __init__(self):
              self.enter_download = False
              self.enter_process = False
              super().__init__()
  
          def _download(self):
              self.enter_download = True
  
          def _process(self):
              self.enter_process = True
  
      class DS4(DS1):
          pass
  
      ds = DS1()
      assert ds.enter_download
      assert ds.enter_process
  
      ds = DS2()
      assert not ds.enter_download
      assert ds.enter_process
  
      ds = DS3()
      assert not ds.enter_download
      assert not ds.enter_process
  
      ds = DS4()
      assert ds.enter_download
      assert ds.enter_process
  
imports: import copy
  import pytest
  import torch
  from torch_geometric import EdgeIndex
  from torch_geometric.data import Data, HeteroData, InMemoryDataset
  from torch_geometric.datasets import KarateClub
  from torch_geometric.testing import withPackage
  from torch_geometric.transforms import BaseTransform
  from torch_geometric.typing import SparseTensor
label_desc: Use image node_id 11 for calling a global function with example usage: test_override_behavior() without return types