def __init__(self, *args, **kwargs):
    parents = kwargs.pop('parents', None)
    forms.Form.__init__(self, *args, **kwargs)
    if parents:
      self.fields['parent'].choices = parents
Extract `ConftestImportFailure` error message from a string.
dataset/ETHPy150Open DeanCutlet/filestack/views.py/EditForm.__init__--crossover with--dataset/ETHPy150Open okcompute/vim-python-tests-runner/compiler/runners/pytest.py/match_conftest_error