style: apply ruff format to branch files predating the format sweep

This commit is contained in:
imSp4rky
2026-07-16 00:00:19 -06:00
parent a519af1af2
commit 4cf7a651a0
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -191,7 +191,9 @@ def test_byte_range_slice_segments_never_probed_or_boosted(tmp_path: Path, monke
probed: list[str] = []
real_probe = dl._probe_ranged
monkeypatch.setattr(dl, "_probe_ranged", lambda url, session, **kw: probed.append(url) or real_probe(url, session, **kw))
monkeypatch.setattr(
dl, "_probe_ranged", lambda url, session, **kw: probed.append(url) or real_probe(url, session, **kw)
)
url = f"http://{host}:{port}/media.mp4"
urls = [{"url": url, "headers": {"Range": f"bytes={i * seg}-{(i + 1) * seg - 1}"}} for i in range(nseg)]