code: def test_search_all_prefixes__overwrite(self):
      class FuzzyExample(HasTraits):
          color = FuzzyEnum(color_choices, help="Color enum")
  
      example = FuzzyExample()
      for color in color_choices:
          for wlen in range(1, len(color)):
              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 1 for calling the TestFuzzyEnum obj's underlying member method code with example usage: obj.test_search_all_prefixes__overwrite() without return types