def suite(): suite = unittest.TestSuite() with warnings.catch_warnings(record=True): warnings.filterwarnings( 'ignore', 'Module obspy.signal.psd is deprecated! ' 'Use obspy.signal.spectral_estimation instead or import directly ' '"from obspy.signal import ...".', category=DeprecationWarning) add_doctests(suite, MODULE_NAME) add_unittests(suite, MODULE_NAME) return suite
def suite(): suite = unittest.TestSuite() add_doctests(suite, MODULE_NAME) add_unittests(suite, MODULE_NAME) return suite
def suite(): # pragma: no cover suite = unittest.TestSuite() add_doctests(suite, MODULE_NAME) add_unittests(suite, MODULE_NAME) return suite