From aaf1c9ed4046a3462b3ea32649aabe5069eface6 Mon Sep 17 00:00:00 2001 From: UnCLAS-Prommer Date: Sun, 8 Mar 2026 17:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E4=B8=A5=E5=8E=89=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pytests/config_test/test_file_watcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytests/config_test/test_file_watcher.py b/pytests/config_test/test_file_watcher.py index 95ebb525..27fab95e 100644 --- a/pytests/config_test/test_file_watcher.py +++ b/pytests/config_test/test_file_watcher.py @@ -127,12 +127,12 @@ async def test_add_callback_while_watcher_running(tmp_path: Path): try: with file.open("w") as f: f.write("change") - await asyncio.sleep(0.2) + await asyncio.sleep(0.5) assert calls == 1 watcher.unsubscribe(uuid) with file.open("w") as f: f.write("change2") - await asyncio.sleep(0.2) + await asyncio.sleep(0.5) assert calls == 1 finally: await watcher.stop()