'A suppression set on a module prevents warnings emitted by any test
mewthods defined in that module which match the suppression from being
emitted.'

def test_suppressModule(self):

    self.runTests(self._load(self.TestSuppression2, 'testSuppressModule'))
    warningsShown = self.flushWarnings([self.TestSuppression._emit])
    self.assertEqual(warningsShown[0]['message'], suppression.METHOD_WARNING_MSG)
    self.assertEqual(warningsShown[1]['message'], suppression.CLASS_WARNING_MSG)
    self.assertEqual(len(warningsShown), 2)
