Fix Python2.6 CI failures due to changed twisted.trial.unittest.TestCase API.