From 3fe22c6bfc7a90289c6d06d365deed16ddb4e021 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:23:44 +0000 Subject: [PATCH 1/2] Initial plan From d25153fc0039c1434b7e6b16e5fd9ab2a9810a5c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:26:24 +0000 Subject: [PATCH 2/2] Fix test teardown method name and remove redundant assertion Co-authored-by: ochui <21917688+ochui@users.noreply.github.com> --- tests/test_edge_cases.py | 1 - tests/test_func.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_edge_cases.py b/tests/test_edge_cases.py index 897358f..16f548c 100644 --- a/tests/test_edge_cases.py +++ b/tests/test_edge_cases.py @@ -152,7 +152,6 @@ async def test_close_fallback_paths(self): fq._r = FakeRedisForClose() await fq.close() self.assertIsNone(fq._r) - self.assertTrue(fq._r is None) async def test_deep_status_calls_set(self): """Covers deep_status (queue.py line 420).""" diff --git a/tests/test_func.py b/tests/test_func.py index 046cccb..a7d9a4a 100644 --- a/tests/test_func.py +++ b/tests/test_func.py @@ -1928,7 +1928,7 @@ async def test_convert_to_str_with_mixed_types(self): self.assertIn("key2", result) self.assertIn("key3", result) - async def test_asyncTearDown(self): + async def asyncTearDown(self): await self.queue._r.flushdb() await self.queue.close()