()
| 472 | |
| 473 | |
| 474 | def test_items_xor(): |
| 475 | dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})") |
| 476 | items = dishes.items() |
| 477 | others = items ^ {('eggs', 2)} |
| 478 | assert others == {('spam', 500), ('bacon', 1), ('sausage', 1)} |
| 479 | |
| 480 | |
| 481 | def test_items_intersect_one_own_smaller(): |
nothing calls this directly
no outgoing calls
no test coverage detected