test_build_ext.py 文件源码

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

项目:BD_T2 作者: jfmolano1587 项目源码 文件源码
def test_get_ext_filename(self):
        # setuptools needs to give back the same
        # result than distutils, even if the fullname
        # is not in ext_map
        dist = Distribution()
        cmd = build_ext(dist)
        cmd.ext_map['foo/bar'] = ''
        res = cmd.get_ext_filename('foo')
        wanted = distutils_build_ext.get_ext_filename(cmd, 'foo')
        assert res == wanted
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号