标签:string style higher testing 条件 用例 version sys his
@pytest.mark.skip(reason="no way of currently testing this")
@pytest.mark.skipif(sys.version_info < (3,6), reason="requires python3.6 or higher")
果条件在收集期间评估为True,则将跳过测试函数,具有指定的原因使用-rs时出现在摘要中
标签:string style higher testing 条件 用例 version sys his
原文地址:https://www.cnblogs.com/jodie2019/p/13276360.html