MCPcopy Create free account
hub / github.com/psf/black / test_non_python_notebook

Function test_non_python_notebook

tests/test_ipynb.py:390–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388
389
390def test_non_python_notebook() -> None:
391 content = read_jupyter_notebook("jupyter", "non_python_notebook")
392
393 with pytest.raises(NothingChanged):
394 format_file_contents(content, fast=True, mode=JUPYTER_MODE)
395
396
397def test_empty_string() -> None:

Callers

nothing calls this directly

Calls 2

read_jupyter_notebookFunction · 0.90
format_file_contentsFunction · 0.90

Tested by

no test coverage detected