dev-python/nevow fails with FEATURES="test" if old/stable twisted is used. Suggestion: Change >=dev-python/twisted-2.4 to >=dev-python/twisted-2.5 The errors: TestCase.assertWarns missing =============================================================================== [TODO]: nevow.test.test_loaders.TestDocFactoriesCache.test_reloadAfterPrecompile Reason: 'Fix so that disk templates are reloaded even after a precompile. Probably just a matter of making the DocSerializer really lazy' File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_loaders.py", line 334, in test_reloadAfterPrecompile self.assertIn('bar', after) <class 'twisted.trial.unittest.FailTest'>: 'bar' not in '<p>foo</p>' =============================================================================== [TODO]: nevow.test.test_url.Serialization.test_rfc1808 Reason: "Many of these fail miserably at the moment; often with a / where there shouldn't be" File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_url.py", line 625, in test_rfc1808 self.failUnlessEqual(result, flatten(base.click(link))) <class 'twisted.trial.unittest.FailTest'>: 'g:h' != 'g:///h' =============================================================================== [FAIL]: nevow.test.test_nit.NitTest.test_reactorSpecified File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_nit.py", line 140, in test_reactorSpecified self.assertEqual(self.log, ['select']) <class 'twisted.trial.unittest.FailTest'>: [] != ['select'] =============================================================================== [ERROR]: nevow.test.test_athena File "/usr/lib/python2.5/site-packages/twisted/python/reflect.py", line 352, in namedAny topLevelPackage = __import__(trialname) File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_athena.py", line 9, in <module> from twisted.application.service import IServiceMaker <type 'exceptions.ImportError'>: cannot import name IServiceMaker =============================================================================== [ERROR]: nevow.test.test_testutil.JavaScriptTests.test_signalledExit File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_testutil.py", line 140, in setUp self.case = JavaScriptTestCase() File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/testutil.py", line 393, in __init__ TrialTestCase.__init__(self, methodName) File "/usr/lib/python2.5/site-packages/twisted/trial/unittest.py", line 272, in __init__ super(TestCase, self).__init__(methodName) File "/usr/lib/python2.5/unittest.py", line 209, in __init__ (self.__class__, methodName) <type 'exceptions.ValueError'>: no such test method in <class 'nevow.testutil.JavaScriptTestCase'>: runTest =============================================================================== [ERROR]: nevow.test.test_testutil.JavaScriptTests.test_unsuccessfulExit File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_testutil.py", line 140, in setUp self.case = JavaScriptTestCase() File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/testutil.py", line 393, in __init__ TrialTestCase.__init__(self, methodName) File "/usr/lib/python2.5/site-packages/twisted/trial/unittest.py", line 272, in __init__ super(TestCase, self).__init__(methodName) File "/usr/lib/python2.5/unittest.py", line 209, in __init__ (self.__class__, methodName) <type 'exceptions.ValueError'>: no such test method in <class 'nevow.testutil.JavaScriptTestCase'>: runTest ------------------------------------------------------------------------------- Ran 603 tests in 5.064s FAILED (skips=16, expectedFailures=2, failures=1, errors=3, successes=582)
Fixed. Thanks for reporting :)