Skip to main content

Remember to run ruff fmt

ID
af3514e
date
2025-12-24 18:19:14+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
cc7d9bc
message
Remember to run `ruff fmt`
changed files
1 file, 1 addition, 5 deletions

Changed files

test_yt-dlp_alexwlchan.py (3483) → test_yt-dlp_alexwlchan.py (3421)

diff --git a/test_yt-dlp_alexwlchan.py b/test_yt-dlp_alexwlchan.py
index 7e05a17..4e717f9 100644
--- a/test_yt-dlp_alexwlchan.py
+++ b/test_yt-dlp_alexwlchan.py
@@ -75,11 +75,7 @@ def test_youtube_ignores_ai_upscaling() -> None:
     video = download_video("https://www.youtube.com/watch?v=0N1_0SUGlDQ")
 
     media_info = MediaInfo.parse(video["video_path"])
-    video_track = next(
-                tr
-                for tr in media_info.tracks
-                if tr.track_type == "Video"
-            )
+    video_track = next(tr for tr in media_info.tracks if tr.track_type == "Video")
     assert (video_track.width, video_track.height) == (640, 480)