void (@NotNull final PyUnitTestProcessRunner runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { if (runner.getCurrentRerunStep() == 0) { assertEquals(stderr, 2, runner.getAllTestsCount()); } else { assertEquals(stderr, 1, runner.getAllTestsCount()); } }