()
| 463 | |
| 464 | |
| 465 | def test_items_or(): |
| 466 | dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})") |
| 467 | items = dishes.items() |
| 468 | others = items | [('juice', 'apple')] |
| 469 | assert others == {('spam', 500.0), ('juice', 'apple'), ('eggs', 2.0), ('sausage', 1.0), ('bacon', 1.0)} |
| 470 | others = [('juice', 'raisin')] | items |
| 471 | assert others == {('spam', 500.0), ('juice', 'raisin'), ('eggs', 2.0), ('sausage', 1.0), ('bacon', 1.0)} |
| 472 | |
| 473 | |
| 474 | def test_items_xor(): |
nothing calls this directly
no outgoing calls
no test coverage detected