code: def test_search_substrings__overwrite(self):
      class FuzzyExample(HasTraits):
          color = FuzzyEnum(
              color_choices, help="Color enum", substring_matching=True
          )
  
      example = FuzzyExample()
      for color in color_choices:
          for wlen in range(0, 2):
              value = color[wlen:]
  
              example.color = value
              self.assertEqual(example.color, color)
  
              example.color = value.upper()
              self.assertEqual(example.color, color)
  
              example.color = value.lower()
              self.assertEqual(example.color, color)
  
imports: import enum
  import unittest
  from traitlets import CaselessStrEnum, Enum, FuzzyEnum, HasTraits, TraitError, UseEnum
label_desc: Use image node_id 3 for calling the TestFuzzyEnum obj's underlying member method code with example usage: obj.test_search_substrings__overwrite() without return types