Tests fail with PyICU==2.8
jonringer opened this issue · 2 comments
jonringer commented
Copied from : NixOS/nixpkgs#143838 (review)
regressions with normality tests, they look legitimate
https://github.com/NixOS/nixpkgs/pull/143838
6 packages failed to build:
python38Packages.fingerprints python38Packages.normality python38Packages.scancode-toolkit python39Packages.fingerprints python39Packages.normality python39Packages.scancode-toolkit
6 packages built:
gramps python38Packages.PyICU python38Packages.slob python39Packages.PyICU python39Packages.slob xdxf2slob
Upgrading normality to 2.2.3 doesn't help
__________________________ NormalityTest.test_german ___________________________
self = <tests.test_normality.NormalityTest testMethod=test_german>
def test_german(self):
text = u"Häschen Spaß"
> self.assertEqual("Haschen Spass", ascii_text(text))
E AssertionError: 'Haschen Spass' != 'Haschen Spa<-ss->'
E - Haschen Spass
E + Haschen Spa<-ss->
E ? ++ ++
tests/test_normality.py:48: AssertionErro
pudo commented
I was able to reproduce the issue against PyICU 2.8 locally, not quite sure what these brackets are doing there. Since I cannot find any mention of it in the commit logs, I'll try and ping the PyICU maintainers to see if they know what's going on.
pudo commented
Ok, I've added more duct tape but this all a bit gnarly.