All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
3 def test(self) -> None:
4 with patch("black.out", print):
6 unstyle(str(report)), "1 file reformatted, 1 file failed to reformat."
10 "1 file reformatted, 1 file left unchanged, 1 file failed to reformat.",
14 "2 files reformatted, 1 file left unchanged, "
15 "1 file failed to reformat.",
19 "2 files reformatted, 2 files left unchanged, "
20 "2 files failed to reformat.",
35 if _cfg_target_split > [int(x) for x in cur_target.split(".")]:
36 my_msg = "$MACOSX_DEPLOYMENT_TARGET mismatch: " 'now "%s" but "%s" during configure' % (
41 def omitting_trailers(self) -> None:
43 hey_this_is_a_very_long_call, it_has_funny_attributes, really=True
46 hey_this_is_a_very_long_call, it_has_funny_attributes, really=True
47 )[OneLevelIndex][TwoLevelIndex][ThreeLevelIndex][FourLevelIndex]
48 d[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][
52 def easy_asserts(self) -> None:
63 } == expected, "Not what we expected"
75 }, "Not what we expected"
89 def tricky_asserts(self) -> None:
101 value, is_going_to_be="too long to fit in a single line", srsly=True
102 ), "Not what we expected"
115 "Not what we expected and the message is too long to fit in one line"
119 value, is_going_to_be="too long to fit in a single line", srsly=True
130 }, "Not what we expected"
143 "Not what we expected and the message is too long to fit "
144 "in one line because it's too long"
147 # This is weird but true.
148 assert expectedexpectedexpectedexpectedexpectedexpectedexpectedexpectedexpect == {