Skip to content

Commit

Permalink
Better test for presence of rst output
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Jul 30, 2024
1 parent bb09112 commit 4d1009f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/exporters/test_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ def test_rst_output(self):
self._get_notebook(nb_name="rst_output.ipynb")
)
assert len(output) > 0
assert ".. note::" in output
assert "\n.. note::" in output
assert ".. raw:: html" not in output # rst should shadow html output

0 comments on commit 4d1009f

Please sign in to comment.