MCPcopy
hub / github.com/psf/black / test_trailing_semicolon_noop

Function test_trailing_semicolon_noop

tests/test_ipynb.py:85–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_trailing_semicolon_noop() -> None:
86 src = 'foo = "a";'
87 with pytest.raises(NothingChanged):
88 format_cell(src, fast=True, mode=JUPYTER_MODE)
89
90
91@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

format_cellFunction · 0.90

Tested by

no test coverage detected