An empty affected-test list might accidentally run your entire pytest suite
This is a fairly annoying way to spend CI minutes:
selected = []
subprocess.run(["python", "-m", "pytest", *selected])
# No paths: pytest might discover the whole suite and start its fixtures.
An emp