code: def test_table_index_bool_with_none(self):
      # bools cannot be used as primary key columns
      with raises(PerspectiveCppError):
          Table(
              {"a": [True, False, None, True], "b": [4, 3, 2, 1]},
              index="a",
          )
  
imports: import sys
  from datetime import date, datetime
  from perspective.core.exception import PerspectiveError
  from perspective.table import Table
  from perspective.table._state import _PerspectiveStateManager
  from perspective.table.libpsppy import PerspectiveCppError, t_filter_op
  from pytest import raises
label_desc: Use image node_id 45 for calling the TestTable obj's underlying member method code with example usage: obj.test_table_index_bool_with_none() without return types