'(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.'

def ensuretemp(self, string, dir=1):

    return self.getbasetemp().ensure(string, dir=dir)
