def makedir(self, name):
name = Path(name)<EOL>if len(name.parts) > <NUM_LIT:1>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>res = self._cachedir.joinpath("<STR_LIT:d>", name)<EOL>res.mkdir(exist_ok=True, parents=True)<EOL>return py.path.local(res)<EOL>
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.