fixed tests

This commit is contained in:
Ekaterina Tuzova
2014-03-13 13:19:42 +04:00
parent 60adb2fd01
commit 259a9c1f39
2 changed files with 3 additions and 5 deletions
@@ -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() {