def resource_filename(basename):
    return os.path.join(os.path.dirname(__file__), 'resources', basename)
Return the absolute path of the resource called ``basename``.
dataset/ETHPy150Open Kozea/WeasyPrint/weasyprint/tests/testing_utils.py/resource_filename