test_advanced.py 文件源码

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

项目:btc-fpga-miner 作者: marsohod4you 项目源码 文件源码
def test_RtsCtsSetting(self):
        for rtscts in (True, False):
            self.s.rtscts = rtscts
            # test get method
            self.failUnlessEqual(self.s.rtscts, rtscts)
            # test internals
            self.failUnlessEqual(self.s._rtscts, rtscts)
        # no illegal values here, normal rules for the boolean value of an
        # object are used thus all objects have a truth value.

    # this test does not work anymore since serial_for_url that is used
    # now, already sets a port
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号