コード例 #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)
コード例 #2
0
ファイル: test_common.py プロジェクト: isabella232/ignite-2
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)