Skip to content

Commit

Permalink
Finish documenting mock force-failure option.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Oct 16, 2023
1 parent d4b1369 commit 1391746
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/lsst/pipe/base/tests/mocks/_pipeline_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def mock_task_defs(
data ID match using the butler expression language (i.e. a string of
the sort passed ass the ``where`` argument to butler query methods),
while the second is the type of exception to raise when the quantum
data ID matches the expression.
data ID matches the expression. An exception type of `None` uses
the default, `ValueError`.
Returns
-------
Expand Down Expand Up @@ -145,7 +146,8 @@ def mock_pipeline_graph(
data ID match using the butler expression language (i.e. a string of
the sort passed as the ``where`` argument to butler query methods),
while the second is the type of exception to raise when the quantum
data ID matches the expression.
data ID matches the expression. An exception type of `None` uses
the default, `ValueError`.
Returns
-------
Expand Down

0 comments on commit 1391746

Please sign in to comment.