1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-03-13 16:04:53 +00:00
scrapy/tests/pipelines.py
2020-05-11 13:50:34 -03:00

19 lines
291 B
Python

"""
Some pipelines used for testing
"""
class ZeroDivisionErrorPipeline:
def open_spider(self, spider):
1 / 0
def process_item(self, item, spider):
return item
class ProcessWithZeroDivisionErrorPipiline:
def process_item(self, item, spider):
1 / 0