code: def test_widget_schema(self):
      schema = {
          "a": int,
          "b": float,
          "c": bool,
          "d": date,
          "e": datetime,
          "f": str,
      }
      widget = PerspectiveWidget(schema)
      assert widget.table.schema() == schema
  
imports: from datetime import date, datetime
  from functools import partial
  from types import MethodType
  import numpy
  from perspective import PerspectiveError, PerspectiveWidget, Table
  from pytest import raises
label_desc: Use image node_id 4 for calling the TestWidget obj's underlying member method code with example usage: obj.test_widget_schema() without return types