Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
191
class
BlackBaseTestCase(unittest.TestCase):
192
def
assertFormatEqual(self, expected: str, actual: str) -> None:
193
_assert_format_equal(expected, actual)
194
195
196
def
get_base_dir(data: bool) -> Path:
Callers
14
test_empty_ff
Method · 0.80
test_one_empty_line_ff
Method · 0.80
test_piping
Method · 0.80
test_expression_ff
Method · 0.80
test_string_quotes
Method · 0.80
test_skip_source_first_line
Method · 0.80
test_python37
Method · 0.80
test_python315
Method · 0.80
test_tab_comment_indentation
Method · 0.80
test_assertFormatEqual_print_full_tree
Method · 0.80
test_assertFormatEqual_print_tree_diff
Method · 0.80
test_single_file_force_pyi
Method · 0.80
Calls
1
_assert_format_equal
Function · 0.85
Tested by
14
test_empty_ff
Method · 0.64
test_one_empty_line_ff
Method · 0.64
test_piping
Method · 0.64
test_expression_ff
Method · 0.64
test_string_quotes
Method · 0.64
test_skip_source_first_line
Method · 0.64
test_python37
Method · 0.64
test_python315
Method · 0.64
test_tab_comment_indentation
Method · 0.64
test_assertFormatEqual_print_full_tree
Method · 0.64
test_assertFormatEqual_print_tree_diff
Method · 0.64
test_single_file_force_pyi
Method · 0.64