diff --git a/tests/exporters/test_rst.py b/tests/exporters/test_rst.py index 23690ef8b..2ff5cbe52 100644 --- a/tests/exporters/test_rst.py +++ b/tests/exporters/test_rst.py @@ -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