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

Method test_no_src_fails

tests/test_black.py:1112–1114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1110 self.invokeBlack([str(src1), str(src2), "--diff", "--check"], exit_code=1)
1111
1112 def test_no_src_fails(self) -> None:
1113 with cache_dir():
1114 self.invokeBlack([], exit_code=1)
1115
1116 def test_src_and_code_fails(self) -> None:
1117 with cache_dir():

Callers

nothing calls this directly

Calls 1

cache_dirFunction · 0.85

Tested by

no test coverage detected