I'm getting bellow error while loading a custom css file: ResourceWarning: unclosed file <_io.TextIOWrapper name='assets/style.css' mode='r' encoding='UTF-8'>open(csspath) The bug is similar to https://github.com/pytest-dev/pytest/issues/4355 I'm wondering if [this code block](https://github.com/pytest-dev/pytest-html/blob/master/pytest_html/plugin.py#L70-L71) is just a leftover, because I think the custom css file is loaded [here](https://github.com/pytest-dev/pytest-html/blob/master/pytest_html/plugin.py#L345-L352).