def makedir(self, name):
    ' return a directory path object with the given name.  If the\n        directory does not yet exist, it will be created.  You can use it\n        to manage files likes e. g. store/retrieve database\n        dumps across test sessions.\n\n        :param name: must be a string not containing a ``/`` separator.\n             Make sure the name contains your plugin or application\n             identifiers to prevent clashes with other cache users.\n        '
    name = Path(name)
    if (len(name.parts) > 1):
        raise ValueError('name is not allowed to contain path separators')
    res = self._cachedir.joinpath('d', name)
    res.mkdir(exist_ok=True, parents=True)
    return py.path.local(res)
return a directory path object with the given name.  If the
directory does not yet exist, it will be created.  You can use it
to manage files likes e. g. store/retrieve database
dumps across test sessions.

:param name: must be a string not containing a ``/`` separator.
     Make sure the name contains your plugin or application
     identifiers to prevent clashes with other cache users.
def makedir(self, name):
    ' return a directory path object with the given name.  If the\n        directory does not yet exist, it will be created.  You can use it\n        to manage files likes e. g. store/retrieve database\n        dumps across test sessions.\n\n        :param name: must be a string not containing a ``/`` separator.\n             Make sure the name contains your plugin or application\n             identifiers to prevent clashes with other cache users.\n        '
    name = Path(name)
    if (len(name.parts) > 1):
        raise ValueError('name is not allowed to contain path separators')
    res = self._cachedir.joinpath('d', name)
    res.mkdir(exist_ok=True, parents=True)
    return py.path.local(res)