2009-04-03 03:22:20 +08:00
|
|
|
#XXX make work: excludedirs = ['_build']
|
2009-04-13 21:58:26 +08:00
|
|
|
import py
|
2009-04-29 01:54:19 +08:00
|
|
|
#py.test.importorskip("pygments")
|
2009-04-03 03:22:20 +08:00
|
|
|
pytest_plugins = ['pytest_restdoc']
|
2009-08-19 01:04:57 +08:00
|
|
|
collect_ignore = ['test/attic.txt']
|
2010-01-22 06:24:33 +08:00
|
|
|
|
|
|
|
def pytest_runtest_setup(item):
|
|
|
|
if item.fspath.ext == ".txt":
|
|
|
|
import pygments # for raising an error
|