https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pyenchant fails tests. Discovered on: ppc64 (internal ref: ppc64_at)
Created attachment 648370 [details] build.log build log and emerge --info
same on ia64
""" newobjs = list(_check_docstrings(obj, errors)) tocheck.extend([obj for obj in newobjs if obj not in checked]) > assert not errors E AssertionError: assert not [(<function set_prefix_dir at 0x3fffb9694680>, 'plugins', 55)] """ If I read _check_docstrings() definition correctly at https://github.com/pyenchant/pyenchant/blob/master/tests/test_docstrings.py#L124 spell checker does not like 'plugins' word in set_prefix_dir() docstring: https://github.com/pyenchant/pyenchant/blob/master/enchant/__init__.py#L903
So I suppose this depends on the installed dictionaries somehow. In any case, this test is silly, so I'll just remove it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bc663e322dec89f11ac037ed3d42529340c836 commit 91bc663e322dec89f11ac037ed3d42529340c836 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-08-19 03:23:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-08-19 03:34:43 +0000 dev-python/pyenchant: Disable apparently broken self-spelling test Closes: https://bugs.gentoo.org/731730 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pyenchant/pyenchant-3.1.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+)