Skip to content

Commit

Permalink
Update docs/basic/pipeline_testing.md
Browse files Browse the repository at this point in the history
Co-authored-by: Yennifer Santos <46519584+ydaponte@users.noreply.github.com>
  • Loading branch information
arjendev and ydaponte authored Feb 9, 2024
1 parent 0c78abd commit 8051c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic/pipeline_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The `next(activities)` method might throw an exception if the expression is inva

### Asserting end of pipeline execution

When the generator has no more activities to return, it raises a `StopIteration` exception. This is a signal that all activities have been evaluated or that no activities meet the required dependency conditions. If you expect the pipeline to be finished, it can be asserted using the `pytest.raises` context manager:
When the generator has no more activities to return, it raises a `StopIteration` exception. This is a signal that all activities have been evaluated or that no activities meet the required dependency conditions. If the pipeline is expected to be finished, it can be asserted using the `pytest.raises` context manager:

```python
with pytest.raises(StopIteration):
Expand Down

0 comments on commit 8051c7e

Please sign in to comment.