mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:53:40 +02:00
python3: mark bytestring as needed
This commit is contained in:
parent
7196fa0773
commit
b6d4442b23
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ def test_lxml(self):
|
|||
from calibre.utils.cleantext import test_clean_xml_chars
|
||||
test_clean_xml_chars()
|
||||
from lxml import etree
|
||||
raw = '<a/>'
|
||||
raw = b'<a/>'
|
||||
root = etree.fromstring(raw)
|
||||
self.assertEqual(etree.tostring(root), raw)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue