-
Denis Laxalde authored
We use io.open() to consistently open files in text mode in both python2 and python3 (we use text mode because we need to .format() the read string, which is only possible with text on python3). Accordingly, we set encoding=text_type when dumping XML to string, in order to produce a unicode string.
97f0cc843868