mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-29121 Handle a missing case of the common name placement in Simplify chained comparison
When it's on the right of a leftmost comparison and there's an additional AND term between the two comparisons to be chained.
This commit is contained in:
@@ -306,6 +306,11 @@ public class PyQuickFixTest extends PyTestCase {
|
||||
doInspectionTest(PyChainedComparisonsInspection.class, "Simplify chained comparison", true, true);
|
||||
}
|
||||
|
||||
// PY-29121
|
||||
public void testChainedComparison9() {
|
||||
doInspectionTest(PyChainedComparisonsInspection.class, "Simplify chained comparison", true, true);
|
||||
}
|
||||
|
||||
// PY-1362, PY-2585
|
||||
public void testStatementEffect() {
|
||||
doInspectionTest(PyStatementEffectInspection.class, PyBundle.message("QFIX.statement.effect"), true, true);
|
||||
|
||||
Reference in New Issue
Block a user