test_imports.py 文件源码

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

项目:blackmamba 作者: zrzka 项目源码 文件源码
def test_futureImportUsed(self):
        """__future__ is special, but names are injected in the namespace."""
        self.flakes('''
        from __future__ import division
        from __future__ import print_function

        assert print_function is not division
        ''')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号