def METHOD_NAME(self):
    """Delete prompt with closed STDIN causes infinite loop and floods stdout (multiple)"""
    self.t("add foo1")
    self.t("add foo2")
    # Would expect 2 yes via input only 1 sent
    code, out, err = self._validate_prompt_loop(input="y\n")
    self.assertEqual(code, 1)