void (@NotNull final PyUnitTestProcessRunner runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { runner.getFormattedTestTree(); assertEquals("Skipped test with non-ascii message broke tree", """ Test tree: [root](~) .test_test(~) ..TestCase(~) ...test(~) """, runner.getFormattedTestTree()); assertThat(stdout) .describedAs("non-ascii char broken in output") .contains("ошибка"); }