code: def test_get_indices_squeeze(self, mapper):
      # squeeze for binary
      x = mapper.get_indices("B", squeeze=True)
      y = mapper.get_indices("B")
      assert x == y[0]
  
      # squeeze for continuous
      x = mapper.get_indices((0, 1), squeeze=True)
      y = mapper.get_indices((0, 1))
      assert x == y[0]
  
      # no effect for categorical variables
      x = mapper.get_indices("C", squeeze=True)
      y = mapper.get_indices("C")
      assert x == y
  
imports: from collections import OrderedDict
  import pytest
  from causalnex.structure import StructureModel
  from causalnex.structure.categorical_variable_mapper import VariableFeatureMapper, validate_schema
label_desc: Use image node_id 5 for calling the TestVariableFeatureMapper obj's underlying member method code with example usage: obj.test_get_indices_squeeze(mapper) without return types