示例#1
0
def ln(*arg, **kw):
    from warnings import warn
    warn(
        "ln() has moved to nose.util from nose.result and will be removed "
        "from nose.result in a future release. Please update your imports ",
        DeprecationWarning)
    return _ln(*arg, **kw)
示例#2
0
文件: result.py 项目: jonozzz/nose
def ln(*arg, **kw):
    from warnings import warn

    warn(
        "ln() has moved to nose.util from nose.result and will be removed "
        "from nose.result in a future release. Please update your imports ",
        DeprecationWarning,
    )
    return _ln(*arg, **kw)