PyDocTestProcessRunner () { return new PyDocTestProcessRunner("test1.py", 0) { @Override protected void configurationCreatedAndWillLaunch(@NotNull PythonDocTestRunConfiguration configuration) throws IOException { super.configurationCreatedAndWillLaunch(configuration); configuration.addParameters(parametersString); } }; }