/
githubmirror
/
scrapy
Обзор
Документация
Войти
/
githubmirror
/
scrapy
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
1.8.4
conftest.py
21 строка
419 B
Eugenio Lacuesta
Remove deprecated xlib module
13 сен 2019, 20:32
Не верифицирован
13 сен 2019, 20:32
c5612f3
Код
Авторство
О чём код?
import six import pytest collect_ignore = [ # not a test, but looks like a test "scrapy/utils/testsite.py", ] if six.PY3: for line in open('tests/py3-ignores.txt'): file_path = line.strip() if file_path and file_path[0] != '#': collect_ignore.append(file_path) @pytest.fixture() def chdir(tmpdir): """Change to pytest-provided temporary directory""" tmpdir.chdir()