[PR #11590/ce5d5622 backport][stable-12] replace list(map(...)) with comprehension (#11591)

replace `list(map(...))` with comprehension (#11590)

* replace `list(map(...))` with comprehension

* add changelog frag

(cherry picked from commit ce5d5622b9)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2026-03-14 17:14:18 +01:00
committed by GitHub
parent c853dfb1a8
commit 99ebbbdf49
5 changed files with 51 additions and 52 deletions

View File

@@ -138,10 +138,6 @@ def get_option(option):
return None
def serialize_groups(groups):
return list(map(str, groups))
@pytest.fixture(scope="module")
def inventory():
r = InventoryModule()