code: def test_all_but_one_data_type(self, excluded_data_type):
      data_types = VariableFeatureMapper.PERMISSIBLE_TYPES
      # create schema with all data types but one, each data type has 3 entries:
      schema = {
          len(data_types) * iy + ix: dtype
          for iy in range(3)
          for ix, dtype in enumerate(data_types)
          if dtype != excluded_data_type
      }
      schema_with_cardinality = {
          k: (v + ":3" if "categorical" in v else v)
          for k, v in schema.items()
      }
  
      mapper = VariableFeatureMapper(schema=schema_with_cardinality)
      assert all(
          k in mapper.get_var_of_type(v) for k, v in schema.items()
      )
  
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 13 for calling the TestVariableFeatureMapper obj's underlying member method code with example usage: obj.test_all_but_one_data_type(excluded_data_type) without return types