Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1f86ff0

Browse filesBrowse files
committed
Fix test
1 parent aabf956 commit 1f86ff0
Copy full SHA for 1f86ff0

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎packages/python/plotly/plotly/tests/test_io/test_pathlib.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/tests/test_io/test_pathlib.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.