PY-20401 Add highlighting for function and variable annotations

This commit is contained in:
Mikhail Golubev
2017-09-06 14:27:25 +03:00
parent 4ccdd97276
commit e6fde8b92f
5 changed files with 28 additions and 2 deletions

View File

@@ -376,6 +376,11 @@ public class PythonHighlightingTest extends PyTestCase {
doTest();
}
// PY-20401
public void testAnnotations() {
runWithLanguageLevel(LanguageLevel.PYTHON36, this::doTest);
}
@NotNull
private static EditorColorsScheme createTemporaryColorScheme() {
EditorColorsManager manager = EditorColorsManager.getInstance();