()
| 400 | |
| 401 | |
| 402 | def test_unparseable_notebook() -> None: |
| 403 | path = get_case_path("jupyter", "notebook_which_cant_be_parsed.ipynb") |
| 404 | msg = rf"File '{re.escape(str(path))}' cannot be parsed as valid Jupyter notebook\." |
| 405 | with pytest.raises(ValueError, match=msg): |
| 406 | format_file_in_place(path, fast=True, mode=JUPYTER_MODE) |
| 407 | |
| 408 | |
| 409 | def test_ipynb_diff_with_change() -> None: |
nothing calls this directly
no test coverage detected