Skip to content
Permalink
Browse files

Ignoring xlib/tx folder, depending on Twisted version.

  • Loading branch information
sibiryakov authored and dangra committed Dec 30, 2015
1 parent 6e42f0b commit 7dfa979197620749128ee062e8771a4283bbf771
Showing with 4 additions and 0 deletions.
  1. +4 −0 conftest.py
@@ -1,6 +1,7 @@
import glob
import six
import pytest
from twisted import version as twisted_version


def _py_files(folder):
@@ -21,6 +22,9 @@ def _py_files(folder):
"scrapy/spider.py",
] + _py_files("scrapy/contrib") + _py_files("scrapy/contrib_exp")

if (twisted_version.major, twisted_version.minor, twisted_version.micro) >= (15, 5, 0):
collect_ignore += _py_files("scrapy/xlib/tx")


if six.PY3:
for line in open('tests/py3-ignores.txt'):

0 comments on commit 7dfa979

Please sign in to comment.