diff --git a/py/test/rsession/testing/test_rsession.py b/py/test/rsession/testing/test_rsession.py index 094e72997..f7ff459a3 100644 --- a/py/test/rsession/testing/test_rsession.py +++ b/py/test/rsession/testing/test_rsession.py @@ -182,7 +182,7 @@ class TestRSessionRemote(DirSetup, BasicRsessionTest): """ allevents = [] hosts = [HostInfo('localhost:%s' % self.dest)] - tmpdir = py.test.ensuretemp("nice") + tmpdir = self.source tmpdir.ensure("__init__.py") tmpdir.ensure("conftest.py").write(py.code.Source(""" dist_hosts = ['localhost:%s']