If you try to install subunit-0.0.6 you get the following error: make[1]: Entering directory `/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6' Traceback (most recent call last): File "./runtests.py", line 23, in <module> from subunit.tests.TestUtil import TestVisitor, TestSuite File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/tests/__init__.py", line 17, in <module> from subunit.tests import ( File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/tests/test_test_protocol.py", line 25, in <module> from testtools.tests.helpers import ( ImportError: No module named tests.helpers FAIL: runtests.py This is because of the following logic in dev-python/testtools: delete_tests() { rm -fr "${ED}$(python_get_sitedir)/testtools/tests" } python_execute_function -q delete_tests Confirmed that removing this piece of code from src_install in dev-python/testtools makes subunit pass tests. So apparently this piece of code removes what is not only tests for dev-python/testtools itself, but also used by other projects/packages and should not be unconditionally removed. Or at least being hidden behind a USE="test", and have dev-python/subunit depend on that use flag. I have however problems to see how an additional of ~1MB of files (if you have both python:2.6 and python:3.1) can kill that many installs.
Tests are installed by dev-python/testtools-0.9.7.