Skip to content

Commit ec928d2

Browse files
test: 说明区间缓存失败也保留工作目录
assert_workspace 的旧说明与坏区间缓存只清 ranges/ 的新语义不符。
1 parent 5385802 commit ec928d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python-backend/tests/update/test_remote.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def forget_workspace(self):
192192
shutil.rmtree(self.root / ".update", ignore_errors=True)
193193

194194
def assert_workspace(self, kept: bool):
195-
"""可重试的失败保留工作目录,确定性失败清空。"""
195+
"""可重试的失败与坏区间缓存保留工作目录,其余确定性失败清空。"""
196196
found = [path.name for path in (self.root / ".update").glob("download-*")]
197197
self.assertEqual(found, ["download-v1.10.0"] if kept else [])
198198

0 commit comments

Comments
 (0)