()
| 299 | |
| 300 | |
| 301 | def test_keys_or(): |
| 302 | dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})") |
| 303 | keys = dishes.keys() |
| 304 | others = keys | ['juice', 'juice', 'juice'] |
| 305 | assert others == {'bacon', 'spam', 'juice', 'sausage', 'eggs'} |
| 306 | others = ['apple'] | keys |
| 307 | assert others == {'bacon', 'spam', 'sausage', 'apple', 'eggs'} |
| 308 | |
| 309 | |
| 310 | def test_keys_xor(): |
nothing calls this directly
no outgoing calls
no test coverage detected