From e48a9ae20ed206c3e0be05f442c64f5e008b74e8 Mon Sep 17 00:00:00 2001 From: dirkf Date: Sat, 28 Jan 2023 18:15:41 +0000 Subject: [PATCH] Condense filters Co-authored-by: Simon Sawicki --- test/test_download.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test/test_download.py b/test/test_download.py index 468901ca4..16797134e 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -310,13 +310,12 @@ def gen_test_suite(ie_key): for ie_key in set( - map(lambda x: x[0], + map(lambda a: a[5:], filter( - lambda x: callable(x[1]), - map(lambda a: (a[5:], getattr(TestDownload, a, None)), - filter(lambda t: - re.match(r'test_.+(?