Skip to content

Commit

Permalink
normpath for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian committed Mar 27, 2024
1 parent 5312b46 commit 542c6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_report_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_package_matrix(self):
script = textwrap.dedent(f"""
import io
from viztracer.report_builder import ReportBuilder
rb = ReportBuilder(['{invalid_json_file}'], verbose=1)
rb = ReportBuilder(['{os.path.normpath(invalid_json_file)}'], verbose=1)
try:
with io.StringIO() as s:
rb.save(s)
Expand Down

0 comments on commit 542c6d3

Please sign in to comment.