From 30f0ac6200467915ac08970dac85cd59e3d537ad Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 19 Nov 2026 01:11:29 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=202:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20say=20only?= =?UTF-8?q?=20that=20a=20closed=20epic=20is=20closed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/do_epic/finish.py | 2 +- bin/do_epic/test_finish.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/do_epic/finish.py b/bin/do_epic/finish.py index c43d2acf..8608d37a 100644 --- a/bin/do_epic/finish.py +++ b/bin/do_epic/finish.py @@ -83,7 +83,7 @@ def closed(epic: str, store: EpicStore, stdin: typing.TextIO) -> str | Failure: return Failure(f"cannot close the epic {epic}: {issues.reason}") already = store.closed() if already: - return Failure(f"cannot close the epic {epic}: {already.reason if isinstance(already, Failure) else 'it is closed already, so its summary is posted'}") + return Failure(f"cannot close the epic {epic}: {already.reason if isinstance(already, Failure) else 'it is closed already'}") if waiting := still_open(issues): return Failure(f"cannot close the epic {epic}: {listed(waiting, 'and')} {'is' if len(waiting) == 1 else 'are'} open") if lacking := unreviewed(issues): diff --git a/bin/do_epic/test_finish.py b/bin/do_epic/test_finish.py index 03813f57..bc20f481 100644 --- a/bin/do_epic/test_finish.py +++ b/bin/do_epic/test_finish.py @@ -90,7 +90,7 @@ class ClosingTheEpic(DoEpicTest): self.store.done = True code, _, err = self.close() self.assertEqual(code, 1) - self.assertIn("cannot close the epic ABC-12: it is closed already, so its summary is posted\n", err) + self.assertIn("cannot close the epic ABC-12: it is closed already\n", err) self.assertEqual(self.store.comments, {}) def test_says_why_it_cannot_tell_whether_the_epic_is_closed(self) -> None: