utils.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:bezier 作者: dhermes 项目源码 文件源码
def needs_curve_intersection_speedup(test_class):
    if bezier is None:
        has_speedup = False  # pragma: NO COVER
    else:
        has_speedup = bezier._HAS_CURVE_INTERSECTION_SPEEDUP

    decorator = unittest.skipUnless(
        has_speedup, 'No curve intersection speedup available')
    return decorator(test_class)
# pylint: enable=invalid-name


# pylint: disable=invalid-name
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号