diff --git a/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java b/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java index 572cfdeec152..3637f37ca91c 100644 --- a/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java +++ b/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java @@ -67,8 +67,7 @@ public class PyTestCommandLineState extends PythonTestCommandLineStateBase { assert script_params != null; String params = myConfiguration.getParams(); if (!StringUtil.isEmptyOrSpaces(params)) { - for (String p : StringUtil.splitHonorQuotes(params, ' ')) - script_params.addParameter(p); + script_params.addParametersString(params); } String keywords = myConfiguration.getKeywords();