test_requests.py 文件源码

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

项目:ruffruffs 作者: di 项目源码 文件源码
def test_equality(self):
        cid = CaseInsensitiveDict({'SPAM': 'blueval', 'Eggs': 'redval'})
        othercid = CaseInsensitiveDict({'spam': 'blueval', 'eggs': 'redval'})
        assert cid == othercid
        del othercid['spam']
        assert cid != othercid
        assert cid == {'spam': 'blueval', 'eggs': 'redval'}
        assert cid != object()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号