Indicates if we join PASS and FAIL from two different outcome sets and the first doesn't already contain both.
(outcomes1, outcomes2)
| 148 | |
| 149 | |
| 150 | def _JoinsPassAndFail(outcomes1, outcomes2): |
| 151 | """Indicates if we join PASS and FAIL from two different outcome sets and |
| 152 | the first doesn't already contain both. |
| 153 | """ |
| 154 | return ( |
| 155 | PASS in outcomes1 and |
| 156 | not (FAIL in outcomes1 or FAIL_OK in outcomes1) and |
| 157 | (FAIL in outcomes2 or FAIL_OK in outcomes2) |
| 158 | ) |
| 159 | |
| 160 | VARIANT_EXPRESSION = object() |
| 161 |