Skip to content

Commit

Permalink
Update ops/testing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
weiiwang01 and benhoyt committed Aug 23, 2023
1 parent 37c104a commit 2be5318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ def handle_exec(self,
(equivalent to ``ExecResult(exit_code=0, stdout=str_or_bytes)``) or an integer
(equivalent to ``ExecResult(exit_code=return_value)``).
- A ``result``: For simulations don't need to inspect the execution argument, the
- A ``result``: For simulations that don't need to inspect the ``exec`` arguments, the
registration can be further simplified using the ``result`` argument. This is equivalent
to setting ``handler=lambda _: result``.
Expand Down

0 comments on commit 2be5318

Please sign in to comment.