Skip to content

Commit a221e4d

Browse files
committed
clean cruft
1 parent 273e79e commit a221e4d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/data/test_snapshot_handling_during_errors.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ async def test_snapshot_handling_during_errors(mocker):
2727
storage.namespaced.return_value = storage
2828
pipeline = Pipeline((extractor, kaboom), 1000, storage)
2929

30-
def raise_fatal_error(e):
31-
# raise e
32-
pass
33-
34-
await pipeline.run(
35-
PipelineProgressReporter(on_fatal_error_callback=raise_fatal_error)
36-
)
30+
await pipeline.run(PipelineProgressReporter())
3731
storage.delete.assert_not_called()
3832
assert storage.put_picklable.call_count == 6

0 commit comments

Comments
 (0)