Skip to content

Commit 1f86ff0

Browse files
committed
Fix test
1 parent aabf956 commit 1f86ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/tests/test_io/test_pathlib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_write_html():
4040
mock_pathlib_path = Mock(spec=Path)
4141
pio.write_html(fig, mock_pathlib_path)
4242
mock_pathlib_path.write_text.assert_called_once()
43-
(pl_html,) = mock_pathlib_path.write_text.call_args[0]
43+
pl_html = mock_pathlib_path.write_text.call_args[0][0]
4444
assert replace_div_id(html) == replace_div_id(pl_html)
4545

4646
# Test pio.write_html with a mock file descriptor

0 commit comments

Comments
 (0)