Make sure that we use Python 2/3 compatible open in tests
Make sure that we use Python 2/3 compatible open in tests

GitOrigin-RevId: f0f345d0d6524ee37c779be4b7fff619a361c879

allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community