return temporary directory path with
the given string as the trailing part.
def ensuretemp(string, dir=1):
origin:<UNKNOWN>
where:
function source:
def ensuretemp(string, dir=1):
""" return temporary directory path with
the given string as the trailing part.
"""
global basetemp
if basetemp is None:
basetemp = py.path.local.make_numbered_dir(prefix='pytest-')
return basetemp.ensure(string, dir=dir)
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_browser.py
called in /home/johnny/projects/merlinux/py/dist/py/test/testing/test_collect.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_browser.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_html.py
called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_local.py
called in /home/johnny/projects/merlinux/py/dist/py/log/testing/test_log.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py
called in /home/johnny/projects/merlinux/py/dist/py/test/testing/test_session.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_local.py
called in /home/johnny/projects/merlinux/py/dist/py/rest/testing/test_rst.py
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/svntestbase.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_posix.py
called in /home/johnny/projects/merlinux/py/dist/py/execnet/testing/test_gateway.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_local.py
called in /home/johnny/projects/merlinux/py/dist/py/misc/testing/test_initpkg.py
called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_autopath.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_local.py
called in /home/johnny/projects/merlinux/py/dist/py/misc/testing/test_svnlook.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_html.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/testing/test_local.py