mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed tests
This commit is contained in:
@@ -108,7 +108,7 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
}
|
||||
|
||||
public void testYieldOutsideOfFunction() {
|
||||
doTest();
|
||||
doTest(LanguageLevel.PYTHON27, true, true);
|
||||
}
|
||||
|
||||
public void testImportStarAtTopLevel() {
|
||||
|
||||
@@ -84,13 +84,11 @@ public class PyIntentionTest extends PyTestCase {
|
||||
}
|
||||
|
||||
public void testConvertDictComp() {
|
||||
setLanguageLevel(LanguageLevel.PYTHON26);
|
||||
doTest(PyBundle.message("INTN.convert.dict.comp.to"));
|
||||
doTest(PyBundle.message("INTN.convert.dict.comp.to"), LanguageLevel.PYTHON26);
|
||||
}
|
||||
|
||||
public void testConvertSetLiteral() {
|
||||
setLanguageLevel(LanguageLevel.PYTHON26);
|
||||
doTest(PyBundle.message("INTN.convert.set.literal.to"));
|
||||
doTest(PyBundle.message("INTN.convert.set.literal.to"), LanguageLevel.PYTHON26);
|
||||
}
|
||||
|
||||
public void testReplaceExceptPart() {
|
||||
|
||||
Reference in New Issue
Block a user