#NEWLINE# def test_suppressMethod( self ) : #NEWLINE# #INDENT# '\n        A suppression set on a test method prevents warnings emitted by that\n        test method which the suppression matches from being emitted.\n        ' #NEWLINE# self . runTests ( self . loader . loadMethod ( self . TestSuppression . testSuppressMethod ) ) #NEWLINE# warningsShown = self . flushWarnings ( [ warningsShown . TestSuppression . _emit ] ) #NEWLINE# self . _assertWarnings ( warningsShown , [ suppression . CLASS_WARNING_MSG , suppression . MODULE_WARNING_MSG ] )