diff --git a/bypy/sources.json b/bypy/sources.json index 5fd5e7ae3e..f9cca7cf3f 100644 --- a/bypy/sources.json +++ b/bypy/sources.json @@ -246,11 +246,15 @@ { "name": "iconv", - "os": "macos, linux", "unix": { "filename": "libiconv-1.16.tar.gz", "hash": "sha256:e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04", "urls": ["https://ftp.gnu.org/pub/gnu/libiconv/{filename}"] + }, + "windows": { + "filename": "libiconv-for-Windows-1.16.zip", + "hash": "sha256:d542e635cad954a62a2b451b5644e855b848398917e93adf46d8da4c9cc88b6d", + "urls": ["https://github.com/pffang/libiconv-for-Windows/archive/v1.16.zip"] } }, diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 8f1dcde6ff..05da265348 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -124,6 +124,8 @@ class BuildTest(unittest.TestCase): raw = b'' root = etree.fromstring(raw, parser=etree.XMLParser(recover=True, no_network=True, resolve_entities=False)) self.assertEqual(etree.tostring(root), raw) + from lxml import html + html.fromstring("

\U0001f63a") def test_certgen(self): from calibre.utils.certgen import create_key_pair