diff --git a/src/pytest_html/basereport.py b/src/pytest_html/basereport.py
index c5297375..f9aba421 100644
--- a/src/pytest_html/basereport.py
+++ b/src/pytest_html/basereport.py
@@ -33,7 +33,7 @@
class BaseReport:
- class Report:
+ class ReportData:
def __init__(self, title, config):
self._config = config
self._data = {
@@ -122,7 +122,7 @@ def __init__(self, report_path, config, default_css="style.css"):
config.getini("max_asset_filename_length")
)
- self._report = self.Report(self._report_path.name, config)
+ self._report = self.ReportData(self._report_path.name, config)
@property
def css(self):