void (@NotNull PythonScriptExecution testScriptExecution, @NotNull List<Function<TargetEnvironment, String>> testSpecs) { if (!testSpecs.isEmpty()) { Function<TargetEnvironment, String> envOptionValue = joinToStringFunction(testSpecs, ","); testScriptExecution.addParameter(joinToStringFunction(List.of(constant("-e"), envOptionValue), " ")); } for (String argument : myConfiguration.getArguments()) { testScriptExecution.addParameter(argument); } }