void () { runPythonTest(new PyUnitTestDebuggingTask("test_case_1.py", "MyTestCase") { @Override public void testing() throws Exception { waitForPauseOnTestFailure("AssertionError", "1 != 0"); resume(); waitForPauseOnTestFailure("AssertionError", "1 != 0"); resume(); waitForPauseOnTestFailure("AssertionError", "1 != 0"); } @Override public @NotNull Set<String> getTags() { //noinspection SpellCheckingInspection return ImmutableSet.of("pytest", "python3"); } }); }