refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -462,7 +462,6 @@ def test_apply_patch_edits_rolls_back_when_later_write_fails(tmp_path, monkeypat
|
||||
written = write_text(path, *args, **kwargs)
|
||||
if path == second and not failed:
|
||||
failed = True
|
||||
# A persistence error can occur after the file has already changed.
|
||||
raise OSError("injected second write failure")
|
||||
return written
|
||||
|
||||
|
||||
Reference in new issue
Block a user