[svn r38712] Avoid py.test.config._reparse([])

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-13 16:32:49 +01:00
parent a38f606825
commit de57df5134
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ from py.__.test.rsession.box import Box
from py.__.test.rsession.testing import example2 from py.__.test.rsession.testing import example2
def setup_module(mod): def setup_module(mod):
mod.config = py.test.config._reparse([]) tmpdir = py.test.ensuretemp("boxtests")
mod.config = py.test.config._reparse([tmpdir])
def test_basic_boxing(): def test_basic_boxing():
# XXX: because we do not have option transfer # XXX: because we do not have option transfer