Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/black
/ assertFormatEqual
Method
assertFormatEqual
tests/util.py:142–143 ·
view source on GitHub ↗
(self, expected: str, actual: str)
Source
from the content-addressed store, hash-verified
140
141
class
BlackBaseTestCase(unittest.TestCase):
142
def
assertFormatEqual(self, expected: str, actual: str) -> None:
143
_assert_format_equal(expected, actual)
144
145
146
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_wip
Method · 0.80
test_expression_ff
Method · 0.80
test_string_quotes
Method · 0.80
test_skip_source_first_line
Method · 0.80
test_async_as_identifier
Method · 0.80
test_python37
Method · 0.80
test_tab_comment_indentation
Method · 0.80
test_assertFormatEqual
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_wip
Method · 0.64
test_expression_ff
Method · 0.64
test_string_quotes
Method · 0.64
test_skip_source_first_line
Method · 0.64
test_async_as_identifier
Method · 0.64
test_python37
Method · 0.64
test_tab_comment_indentation
Method · 0.64
test_assertFormatEqual
Method · 0.64
test_single_file_force_pyi
Method · 0.64