void (final String script, @Nullable Set<String> tags) { Assume.assumeFalse(UsefulTestCase.IS_UNDER_TEAMCITY); runPythonTest(new PyProcessWithConsoleTestTask<PyTestTestProcessRunner>("/helpers/pydev/", SdkCreationType.SDK_PACKAGES_ONLY) { @NotNull @Override protected PyTestTestProcessRunner createProcessRunner() throws Exception { return new PyTestTestProcessRunner(script, 0); } @Override protected void checkTestResults(@NotNull PyTestTestProcessRunner runner, @NotNull String stdout, @NotNull String stderr, @NotNull String all, int exitCode) { runner.assertNoFailures(); } @NotNull @Override public String getTestDataPath() { return PythonHelpersLocator.getPythonCommunityPath(); } @NotNull @Override public Set<String> getTags() { if (tags == null) { return super.getTags(); } return tags; } } ); }