mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-23 17:46:56 +08:00
chore: comment cleanup
Comment-Gate: 6 quarantined
This commit is contained in:
@@ -64,13 +64,7 @@ class ReprojectionSummary(StepResult):
|
||||
|
||||
@property
|
||||
def complete(self) -> bool:
|
||||
"""A path under no known root today may be under one tomorrow.
|
||||
|
||||
Its file is on disk -- an absent file is counted separately -- so the
|
||||
root was configured away rather than deleted, and nothing else will ever
|
||||
re-derive the row: the scan only builds specs for paths it has not seen.
|
||||
Staying unstamped is what lets restoring the root repair them.
|
||||
"""
|
||||
"""Nothing else re-derives these rows -- the scan only builds specs for paths it has not seen -- so staying unstamped is what lets a restored root repair them."""
|
||||
return self.unclassified_paths == 0
|
||||
|
||||
def __str__(self) -> str:
|
||||
|
||||
@@ -553,7 +553,6 @@ class TestRunner:
|
||||
assert session.get(AssetReference, "ref-1").loader_path == "model.safetensors"
|
||||
|
||||
def test_unclassified_row_withholds_the_stamp(self, session, comfy_dirs):
|
||||
"""Skipping a row must not also stamp past it -- nothing else repairs one."""
|
||||
_register(
|
||||
session,
|
||||
_write(comfy_dirs["elsewhere"], "unconfigured.safetensors"),
|
||||
@@ -581,7 +580,6 @@ class TestRunner:
|
||||
def test_restoring_a_root_repairs_the_rows_it_had_hidden(
|
||||
self, session, comfy_dirs
|
||||
):
|
||||
"""The point of withholding the stamp: a re-added root gets reprojected."""
|
||||
hidden = _write(comfy_dirs["elsewhere"], "unconfigured.safetensors")
|
||||
_register(session, hidden, "ref-outside", loader_path=None)
|
||||
|
||||
|
||||
@@ -564,11 +564,6 @@ class TestSeederSemanticsReset:
|
||||
|
||||
|
||||
def test_semantics_reset_suspends_on_pause(self, fresh_seeder: _AssetSeeder):
|
||||
"""A pause must stop the walk between batches, not just a cancel.
|
||||
|
||||
The seeder is paused while a prompt runs, so a check that ignores pause
|
||||
keeps statting the whole asset table during generation.
|
||||
"""
|
||||
captured = {}
|
||||
|
||||
with (
|
||||
@@ -610,7 +605,6 @@ class TestSeederSemanticsReset:
|
||||
def test_cancel_during_semantics_reset_stops_before_pruning(
|
||||
self, fresh_seeder: _AssetSeeder
|
||||
):
|
||||
"""A cancelled reset must not fall through into the prune's writes."""
|
||||
calls = []
|
||||
|
||||
def _cancel_during_reset(interrupt_check=None):
|
||||
|
||||
Reference in New Issue
Block a user