code: def test_table_infer_date_from_date(self):
      # pass in a `date` to make sure it infers as date
      data = {
          "a": [None, None, None, None, None, None, date(2019, 7, 11)]
      }
      tbl = Table(data)
      assert tbl.schema() == {"a": date}
  
imports: from datetime import date, datetime
  from perspective.table import Table
  from pytest import mark
label_desc: Use image node_id 10 for calling the TestTableInfer obj's underlying member method code with example usage: obj.test_table_infer_date_from_date() without return types