mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
python3: mark bytestring as needed
This commit is contained in:
parent
7196fa0773
commit
b6d4442b23
@ -99,7 +99,7 @@ class BuildTest(unittest.TestCase):
|
||||
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…
x
Reference in New Issue
Block a user