[py-svn] r38712 - py/trunk/py/test/rsession/testing

fijal at codespeak.net fijal at codespeak.net
Tue Feb 13 16:32:52 CET 2007


Author: fijal
Date: Tue Feb 13 16:32:49 2007
New Revision: 38712

Modified:
   py/trunk/py/test/rsession/testing/test_boxing.py
Log:
Avoid py.test.config._reparse([])


Modified: py/trunk/py/test/rsession/testing/test_boxing.py
==============================================================================
--- py/trunk/py/test/rsession/testing/test_boxing.py	(original)
+++ py/trunk/py/test/rsession/testing/test_boxing.py	Tue Feb 13 16:32:49 2007
@@ -11,7 +11,8 @@
 from py.__.test.rsession.testing import example2
 
 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():
     # XXX: because we do not have option transfer


More information about the py-svn mailing list