def ensuretemp(self, string, dir=<NUM_LIT:1>):
<EOL>from .deprecated import PYTEST_ENSURETEMP<EOL>warnings.warn(PYTEST_ENSURETEMP, stacklevel=<NUM_LIT:2>)<EOL>return self.getbasetemp().ensure(string, dir=dir)<EOL>
(deprecated) return temporary directory path with
            the given string as the trailing part.  It is usually
            better to use the 'tmpdir' function argument which
            provides an empty unique-per-test-invocation directory
            and is guaranteed to be empty.