def METHOD_NAME(request, tmp_path_factory):
    """Return a temporary directory path object
    which is unique to each test function invocation,
    created as a sub directory of the base temporary
    directory.  The returned object is a :class:`pathlib.Path`
    object.
    .. note::
        in python < 3.6 this is a pathlib2.Path
    """
    return _mk_tmp(request, tmp_path_factory)