'Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/215
Tests the case where a multi-field ndarray (not a recarray) containing
a bool field is used to initialize a `BinTableHDU`.'

def test_table_from_bool_fields2(self):

    arr = np.array([(False,), (True,), (False,)], dtype=[('a', '?')])
    hdu = fits.BinTableHDU(data=arr)
    assert (hdu.data['a'] == arr['a']).all()
