Don't mark continue in finally block as an error in Python 3.8+ (PY-36003)

Enable a test that no one is care of.

GitOrigin-RevId: ccc520d6ab6d40117b5ff69ffe908ef135c6a08b
This commit is contained in:
Semyon Proshev
2019-07-23 17:37:23 +03:00
committed by intellij-monorepo-bot
parent 7d2018c336
commit d50b3ad7ea
5 changed files with 23 additions and 13 deletions

View File

@@ -80,6 +80,16 @@ public class PythonHighlightingTest extends PyTestCase {
doTest(false, false);
}
// PY-36003
public void testContinueInFinallyBlockBefore38() {
doTest(LanguageLevel.PYTHON37, false, false);
}
// PY-36003
public void testContinueInFinallyBlock() {
doTest(LanguageLevel.PYTHON38, false, false);
}
public void testReturnWithArgumentsInGenerator() {
doTest();
}
@@ -109,11 +119,9 @@ public class PythonHighlightingTest extends PyTestCase {
doTest(false, false);
}
/*
public void testStringEscapedOK() {
doTest();
}
*/
public void testStringMixedSeparatorsOK() { // PY-299
doTest();