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

Method assertFormatEqual

tests/util.py:192–193  ·  view source on GitHub ↗
(self, expected: str, actual: str)

Source from the content-addressed store, hash-verified

190
191class BlackBaseTestCase(unittest.TestCase):
192 def assertFormatEqual(self, expected: str, actual: str) -> None:
193 _assert_format_equal(expected, actual)
194
195
196def get_base_dir(data: bool) -> Path:

Callers 14

test_empty_ffMethod · 0.80
test_pipingMethod · 0.80
test_expression_ffMethod · 0.80
test_string_quotesMethod · 0.80
test_python37Method · 0.80
test_python315Method · 0.80

Calls 1

_assert_format_equalFunction · 0.85

Tested by 14

test_empty_ffMethod · 0.64
test_pipingMethod · 0.64
test_expression_ffMethod · 0.64
test_string_quotesMethod · 0.64
test_python37Method · 0.64
test_python315Method · 0.64