Ejemplo n.º 1
0
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
Ejemplo n.º 2
0
def suite():
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Ejemplo n.º 3
0
def suite():
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Ejemplo n.º 4
0
def suite():  # pragma: no cover
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Ejemplo n.º 5
0
def suite():  # pragma: no cover
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite