fix: remove unused variable in test_loop_guard_seed (ruff F841) #1255
@@ -67,7 +67,6 @@ def test_seed_oserror_is_graceful(tmp_path, monkeypatch, capsys):
|
|||||||
monkeypatch.setattr(lg, "CYCLE_RESULT_FILE", tmp_path / "no_dir" / "cycle_result.json")
|
monkeypatch.setattr(lg, "CYCLE_RESULT_FILE", tmp_path / "no_dir" / "cycle_result.json")
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
original_mkdir = Path.mkdir
|
|
||||||
|
|
||||||
def failing_mkdir(self, *args, **kwargs):
|
def failing_mkdir(self, *args, **kwargs):
|
||||||
raise OSError("no space left")
|
raise OSError("no space left")
|
||||||
|
|||||||
Reference in New Issue
Block a user