Installing dev-python/pyenchant-1.1.5 fails 'make check': running test running egg_info writing pyenchant.egg-info/PKG-INFO writing eager_resources to pyenchant.egg-info/eager_resources.txt writing top-level names to pyenchant.egg-info/top_level.txt writing dependency_links to pyenchant.egg-info/dependency_links.txt reading manifest file 'pyenchant.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools/pyenchant-bdist-win32-sources' writing manifest file 'pyenchant.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-x86_64-2.5/enchant/_enchant.so -> enchant Test that the en_US language is available. ... ok Test whether all advertised languages are in fact available. ... FAIL Test proper functioning of live dicts count. ... ** (process:28404): WARNING **: 1 dictionaries weren't free'd. ok Test live dicts count with normalised tag names. ... ** (process:28404): WARNING **: 1 dictionaries weren't free'd. ok Test that provider ordering works correctly. ... ok Test whether all advertised providers are in fact available. ... FAIL Test behavior of default language selection. ... ok Test that the en_US language is available. ... ok Test that the dict's broker is set correctly. ... ok Test that check() works on some common words. ... ok Test that adding words to the session works as required. ... ok Test that suggest() gets simple suggestions right. ... ok Test whether suggest() hangs on some inputs (Bug #1404196) ... ok Test that the dict's tag is set correctly. ... ok Test checking/suggesting for unicode strings ... ok Test functionality of DictWithPWL. ... FAIL Test that adding words to a PWL works correctly. ... FAIL Test that basic checking words on PWLs. ... ok Test performance of a basic spellchecking run. ... ok Simple regression test for get_tokenizer. ... ok Simple regression test for english tokenization. ... ok ====================================================================== FAIL: Test whether all advertised languages are in fact available. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.1.5/work/pyenchant-1.1.5/enchant/__init__.py", line 803, in test_LangsAreAvail self.assert_(self.broker.dict_exists(lang)) AssertionError ====================================================================== FAIL: Test whether all advertised providers are in fact available. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.1.5/work/pyenchant-1.1.5/enchant/__init__.py", line 808, in test_ProvsAreAvail self.assert_(self.broker.dict_exists(lang)) AssertionError ====================================================================== FAIL: Test functionality of DictWithPWL. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.1.5/work/pyenchant-1.1.5/enchant/__init__.py", line 1008, in test_DWPWL self.assert_("Flagen\n" in self.getPWLContents()) AssertionError ====================================================================== FAIL: Test that adding words to a PWL works correctly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.1.5/work/pyenchant-1.1.5/enchant/__init__.py", line 995, in test_add self.assert_("Flagen\n" in self.getPWLContents()) AssertionError ---------------------------------------------------------------------- Ran 21 tests in 3.763s FAILED (failures=4) * * ERROR: dev-python/pyenchant-1.1.5 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 2534: Called die * The specific snippet of code: * "${python}" setup.py test || die "test failed" * The die message: * test failed
Tests are broken also in dev-python/pyenchant-1.5.3, so I have restricted them.
Tests fail in pyenchant-1.6.2 as well: ====================================================================== FAIL: Test whether all advertised languages are in fact available. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.6.2/work/pyenchant-1.6.2/enchant/tests.py", line 83, in test_LangsAreAvail assert False, "language '"+lang+"' advertised but non-existent" AssertionError: language 'de_DE_frami' advertised but non-existent ====================================================================== FAIL: Test whether all advertised providers are in fact available. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyenchant-1.6.2/work/pyenchant-1.6.2/enchant/tests.py", line 88, in test_ProvsAreAvail self.assert_(self.broker.dict_exists(lang)) AssertionError Please reopen.
(In reply to comment #2) > Please reopen. Done
This bug was about different test failures.