def pytest_report_header(config):
    if config.option.verbose:
        cachedir = config.cache._cachedir
        try:
            displaypath = cachedir.relative_to(config.rootdir)
        except ValueError:
            displaypath = cachedir
        return 'cachedir: {}'.format(displaypath)
def pytest_report_header(config):
    if config.option.verbose:
        cachedir = config.cache._cachedir
        try:
            displaypath = cachedir.relative_to(config.rootdir)
        except ValueError:
            displaypath = cachedir
        return 'cachedir: {}'.format(displaypath)