mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
Mark duplicated *args and **kwargs as not allowed (PY-26491)
This commit is contained in:
@@ -20,7 +20,6 @@ import java.awt.*;
|
||||
* @author yole
|
||||
*/
|
||||
public class PythonHighlightingTest extends PyTestCase {
|
||||
private static final String TEST_PATH = "/highlighting/";
|
||||
|
||||
public void testBuiltins() {
|
||||
EditorColorsScheme scheme = createTemporaryColorScheme();
|
||||
@@ -362,6 +361,16 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
runWithLanguageLevel(LanguageLevel.PYTHON30, this::doTest);
|
||||
}
|
||||
|
||||
// PY-26491
|
||||
public void testMultiplePositionalContainers() {
|
||||
doTest(LanguageLevel.PYTHON35, true, false);
|
||||
}
|
||||
|
||||
// PY-26491
|
||||
public void testMultipleKeywordContainers() {
|
||||
doTest(LanguageLevel.PYTHON35, true, false);
|
||||
}
|
||||
|
||||
// PY-26510
|
||||
public void testEmptyRaise() {
|
||||
doTest(false, false);
|
||||
|
||||
Reference in New Issue
Block a user