          for i, context in enumerate(contexts):
              if formset not in context or not hasattr(context[formset], "forms"):
                  continue
              if not context[formset].is_bound:
                  formset_repr = repr(context[formset])
                  self.fail(
                      f"{msg_prefix}The formset {formset_repr} is not bound, it will "
                      f"never have any errors."
                  )
              found_formset = True
 
</s>
          for i, context in enumerate(contexts):
              if formset not in context or not hasattr(context[formset], "forms"):
                  continue
              if not context[formset].is_bound:

                  self.fail(
                      f"{msg_prefix}The formset {formset_repr} is not bound, it will "
                      f"never have any errors."
                  )
              found_formset = True
keep keep keep keep replace keep keep keep keep keep
 Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when form_index is too big.
django/test/testcases.py