TestCenter Reference
TestSupport.TestHelper.SuppressedWarnings Class Reference

Public Member Functions

 __init__ (self, warningRegExp, logErrorFunc=None, expectWarning=True)
 
 handleResult (self)
 

Detailed Description

Helper object to supress warnings.
Make sure that you call handleResult() in a finally: clause.
If no logErrorFunc it given, matching warnings will just be ignored, not expected,
so no error will be logged if no match was found.

Definition at line 166 of file TestHelper.py.

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ handleResult()


The documentation for this class was generated from the following file: