Commit 11d90703 authored by Andrey Golovizin's avatar Andrey Golovizin

Replace unicode with six.text_type

parent 172d345b
......@@ -25,6 +25,8 @@ import io
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
import six
from pybtex.database.output import BaseWriter
......@@ -93,7 +95,7 @@ class Writer(BaseWriter):
>>> from pybtex.database import BibliographyData
>>> data = BibliographyData()
>>> unicode_xml = Writer().to_string(data)
>>> isinstance(unicode_xml, unicode)
>>> isinstance(unicode_xml, six.text_type)
True
>>> print(unicode_xml)
<bibtex:file xmlns:bibtex="http://bibtexml.sf.net/">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment