'Any warnings emitted by a call to a function passed to
L{_collectWarnings} are not actually emitted to the warning system.'

def test_suppresses(self):

    output = StringIO()
    self.patch(sys, 'stdout', output)
    _collectWarnings((lambda x: None), warnings.warn, 'text')
    self.assertEqual(output.getvalue(), '')
