@Override
  public void applyFix(@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) {
    final PyWithItem withItem = PsiTreeUtil.getParentOfType(element, PyWithItem.class);
    if (withItem == null) return;
    final PyExpression withTarget = withItem.getTarget();
    if (withTarget != element) return;
    final PyExpression withExpr = withItem.getExpression();
    withItem.deleteChildRange(withExpr.getNextSibling(), withItem.getLastChild());
  }
@Override
  public void applyFix(@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater)