Beispiel #1
0
def test_deprecated_setup_any_logging():

    with pytest.raises(DeprecationWarning, match=r"is deprecated since 0\.4\.0\."):
        setup_any_logging(None, None, None, None, None, None)
Beispiel #2
0
def test_deprecated_setup_any_logging():

    with pytest.raises(DeprecationWarning,
                       match=r"deprecated since version 0.4.0"):
        setup_any_logging(None, None, None, None, None, None)