(session_kind)
| 199 | |
| 200 | @pytest.mark.parametrize("session_kind", _all_session_kinds) |
| 201 | def test_string_obj(session_kind): |
| 202 | num_workers = 4 |
| 203 | sess = session_kind(num_workers=num_workers) |
| 204 | func: di.DPackedFunc = sess.get_global_func("tests.disco.str_obj") |
| 205 | result: di.DRef = func(String("hello")) |
| 206 | |
| 207 | for i in range(num_workers): |
| 208 | value = result.debug_get_from_remote(i) |
| 209 | assert isinstance(value, str) |
| 210 | assert value == "hello_suffix" |
| 211 | |
| 212 | |
| 213 | @pytest.mark.parametrize("session_kind", _all_session_kinds) |
nothing calls this directly
no test coverage detected
searching dependent graphs…