void () { runPythonTest(new PyTestDebuggingTask("test_case_15.py") { @Override public void testing() throws Exception { waitForPause(); Assert.assertTrue(eval("__exception__").getValue().startsWith( "(<class 'builtins.Failed'>, DID NOT RAISE <type 'exceptions.Exception'>")); } @Override public @NotNull Set<String> getTags() { //noinspection SpellCheckingInspection return ImmutableSet.of("pytest", "python2.7"); } }); }