Skip to content

Commit

Permalink
Enabled code that saves the image.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbeced committed Dec 14, 2023
1 parent 812a30a commit 37ade2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_backtesting_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ async def impl():
# assert "Price missing" in caplog.text
trace("impl")
with helpers.temp_file_name(suffix=".png") as tmp_file_name:
trace("impl")
# line_charts.save(tmp_file_name)
# trace("impl")
trace("impl - before saving image")
line_charts.save(tmp_file_name)
trace("impl - after saving image")
# assert os.stat(tmp_file_name).st_size > 100
# trace("impl")
trace("impl")
Expand Down

0 comments on commit 37ade2b

Please # to comment.