Skip to content

Commit c4ffcd3

Browse files
committed
Fix test_create_result_info for InProcess when global is LegacyGrpc
1 parent f59834d commit c4ffcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_resultinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_create_result_info(server_type):
315315
"""
316316
assert str(result_info) == ref
317317
with pytest.raises(ValueError, match="requires"):
318-
_ = dpf.core.ResultInfo()
318+
_ = dpf.core.ResultInfo(server=server_type)
319319
else:
320320
with pytest.raises(NotImplementedError, match="Cannot create a new ResultInfo via gRPC."):
321321
_ = dpf.core.ResultInfo(

0 commit comments

Comments
 (0)