Make python-latest project descriptor default in tests

Update test data and reduce manual language level setup

GitOrigin-RevId: d6ddec1b2b29a2b7f1a34cfb5982fd975de78d65
This commit is contained in:
Semyon Proshev
2021-03-05 01:05:54 +03:00
committed by intellij-monorepo-bot
parent f247cfde52
commit 56a1c00c2a
177 changed files with 1118 additions and 1508 deletions

View File

@@ -6,11 +6,13 @@ import com.intellij.openapi.editor.colors.EditorColorsScheme;
import com.intellij.openapi.editor.colors.TextAttributesKey;
import com.intellij.openapi.editor.markup.EffectType;
import com.intellij.openapi.editor.markup.TextAttributes;
import com.intellij.testFramework.LightProjectDescriptor;
import com.jetbrains.python.documentation.PyDocumentationSettings;
import com.jetbrains.python.documentation.docstrings.DocStringFormat;
import com.jetbrains.python.fixtures.PyTestCase;
import com.jetbrains.python.psi.LanguageLevel;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.awt.*;
@@ -21,6 +23,11 @@ import java.awt.*;
*/
public class PythonHighlightingTest extends PyTestCase {
@Override
protected @Nullable LightProjectDescriptor getProjectDescriptor() {
return ourPy2Descriptor;
}
public void testBuiltins() {
EditorColorsScheme scheme = createTemporaryColorScheme();