(session_kind)
| 154 | |
| 155 | @pytest.mark.parametrize("session_kind", _all_session_kinds) |
| 156 | def test_int(session_kind): # pylint: disable=invalid-name |
| 157 | num_workers = 4 |
| 158 | sess = session_kind(num_workers=num_workers) |
| 159 | func: di.DPackedFunc = sess.get_global_func("tests.disco.add_one") |
| 160 | result: di.DRef = func(1) |
| 161 | for i in range(num_workers): |
| 162 | assert result.debug_get_from_remote(i) == 2 |
| 163 | |
| 164 | |
| 165 | @pytest.mark.parametrize("session_kind", _all_session_kinds) |
nothing calls this directly
no test coverage detected
searching dependent graphs…