This commit is contained in:
zhaoyafan 2023-03-13 20:06:31 +08:00
parent 4981325b36
commit 4d3f21c959
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ class HTMLTestRunner(ReportTemplate):
"""
if report_home:
try:
os.mkdir(report_home)
os.makedirs(report_home)
except Exception:
raise Exception('Report directory already exists.')
stream = report = log = None