python类test()的实例源码

test_libc.py 文件源码 项目:zippy 作者: securesystemslab 项目源码 文件源码 阅读 19 收藏 0 点赞 0 评论 0
def SKIPPED_test_no_more_xfail(self):
        # We decided to not explicitly support the whole ctypes-2.7
        # and instead go for a case-by-case, demand-driven approach.
        # So this test is skipped instead of failing.
        import socket
        import ctypes.test
        self.assertTrue(not hasattr(ctypes.test, 'xfail'),
                        "You should incrementally grep for '@xfail' and remove them, they are real failures")


问题


面经


文章

微信
公众号

扫码关注公众号