'Generates boolean masks corresponding to test sets.
By default, delegates to _iter_test_indices()'

def _iter_test_masks(self):

    for test_index in self._iter_test_indices():
        test_mask = self._empty_mask()
        test_mask[test_index] = True
        (yield test_mask)
