(self, test, subtest, result)
| 37 | return self._try_send_new_subtest(test, gen) |
| 38 | |
| 39 | def _result_for(self, test, subtest, result): |
| 40 | # The generator might have been removed after cycling through all subtests |
| 41 | # below. If some of the subtests are heavy, they get buffered and return |
| 42 | # their results later. |
| 43 | gen = self._next_variant.get(test.procid) |
| 44 | if not gen or not self._try_send_new_subtest(test, gen): |
| 45 | self._send_result(test, None) |
| 46 | |
| 47 | def _try_send_new_subtest(self, test, variants_gen): |
| 48 | for variant, flags, suffix in variants_gen: |
nothing calls this directly
no test coverage detected