diff --git a/tests/test_ipynb.py b/tests/test_ipynb.py index bb8c95c5e00..b3a3634d99f 100644 --- a/tests/test_ipynb.py +++ b/tests/test_ipynb.py @@ -426,7 +426,7 @@ def test_entire_notebook_without_changes() -> None: content = read_jupyter_notebook("jupyter", "notebook_without_changes") with pytest.raises(NothingChanged): new_content = format_file_contents(content, fast=True, mode=JUPYTER_MODE) - pytest.fail(new_content) + assert content == new_content def test_non_python_notebook() -> None: