@NotNull
  private static Pair<String, String> calculateQuotes(@NotNull String text) {
    final Pair<String, String> quotes = PyStringLiteralCoreUtil.getQuotes(text);

    if (quotes == null || quotes.first == null && quotes.second == null) return Pair.createNonNull("\"", "\"");

    if (quotes.first == null) return Pair.createNonNull(quotes.second, quotes.second);
    if (quotes.second == null) return Pair.createNonNull(quotes.first, quotes.first);

    return quotes;
  }
@NotNull
  private static Pair<String, String> calculateQuotes(@NotNull String text)