test_ok1/doc/conftest.py

9 lines
254 B
Python
Raw Normal View History

#XXX make work: excludedirs = ['_build']
import py
pytest_plugins = ['pytest_restdoc']
2009-08-19 01:04:57 +08:00
collect_ignore = ['test/attic.txt']
def pytest_runtest_setup(item):
if item.fspath.ext == ".txt":
py.test.importorskip("pygments") # for raising an error