code: def test_invalid_enum(self):
      class Color:
          red = 1
          green = 2
          blue = 3
  
      class InvalidEnum(Record):
          a = Integer()
          b = Color
  
      # Enum will be ignored
      self.assertEqual(
          InvalidEnum.schema(),
          {
              "name": "InvalidEnum",
              "type": "record",
              "fields": [{"name": "a", "type": ["null", "int"]}],
          },
      )
  
imports: import math
  import logging
  import requests
  from typing import List
  from unittest import TestCase, main
  import fastavro
  import pulsar
  from pulsar.schema import *
  from enum import Enum
  import json
  from fastavro.schema import load_schema
label_desc: Use image node_id 4 for calling the SchemaTest obj's underlying member method code with example usage: obj.test_invalid_enum() without return types