'Test deleting cards from a header that match a wildcard pattern.'

def test_wildcard_slice_deletion(self):

    header = fits.Header([('ABC', 0), ('DEF', 1), ('ABD', 2)])
    del header['AB*']
    assert (len(header) == 1)
    assert (header[0] == 1)
