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

Function test_magic

tests/test_ipynb.py:144–146  ·  view source on GitHub ↗
(src: str, expected: str, mode: Mode)

Source from the content-addressed store, hash-verified

142 ),
143)
144def test_magic(src: str, expected: str, mode: Mode) -> None:
145 result = format_cell(src, fast=True, mode=mode)
146 assert result == expected
147
148
149@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

format_cellFunction · 0.90

Tested by

no test coverage detected