提交 81187fea 编写于 作者: J Julia Medina

Ignore files with import errors on pytest test discover

上级 560a8465
......@@ -2,6 +2,12 @@
import pytest
from twisted.python import log
from scrapy import optional_features
collect_ignore = ["stats.py"]
if 'django' not in optional_features:
collect_ignore.append("tests/test_djangoitem/models.py")
class LogObservers:
"""Class for keeping track of log observers across test modules"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册