1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 09:24:04 +00:00
scrapy/tests/pipelines.py
Adrián Chaves f261cf65e9 Add missing blank lines between functions and classes
Also fixed 2 unrelated Flake8 issues
2019-11-18 17:16:09 +01:00

19 lines
307 B
Python

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