(self)
| 2390 | assert frozenset(iter(cid)) == keys |
| 2391 | |
| 2392 | def test_equality(self): |
| 2393 | cid = CaseInsensitiveDict({"SPAM": "blueval", "Eggs": "redval"}) |
| 2394 | othercid = CaseInsensitiveDict({"spam": "blueval", "eggs": "redval"}) |
| 2395 | assert cid == othercid |
| 2396 | del othercid["spam"] |
| 2397 | assert cid != othercid |
| 2398 | assert cid == {"spam": "blueval", "eggs": "redval"} |
| 2399 | assert cid != object() |
| 2400 | |
| 2401 | def test_setdefault(self): |
| 2402 | cid = CaseInsensitiveDict({"Spam": "blueval"}) |
nothing calls this directly
no test coverage detected