Commit b396f137 authored by Jelle Zijlstra's avatar Jelle Zijlstra Committed by Łukasz Langa
Browse files

fix incorrect call (#762)

parent d6db1c12
Loading
Loading
Loading
Loading
+1 −1
Changes for black.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2206,7 +2206,7 @@ def rhs(line: Line, supports_trailing_commas: bool = False) -> Iterator[Line]:
            # All splits failed, best effort split with no omits.
            # This mostly happens to multiline strings that are by definition
            # reported as not fitting a single line.
            yield from right_hand_split(line, supports_trailing_commas)
            yield from right_hand_split(line, line_length, supports_trailing_commas)

        if line.inside_brackets:
            split_funcs = [delimiter_split, standalone_comment_split, rhs]
+1 −4
Changes for tests/data/composition.py: 1 added line, 4 removed lines.
Original line number Diff line number Diff line
@@ -166,9 +166,7 @@ def tricky_asserts(self) -> None:
            _C.__init__.__code__.co_firstlineno + 1,
        )

        assert (
            expectedexpectedexpectedexpectedexpectedexpectedexpectedexpectedexpect
            == {
        assert expectedexpectedexpectedexpectedexpectedexpectedexpectedexpectedexpect == {
            key1: value1,
            key2: value2,
            key3: value3,
@@ -179,4 +177,3 @@ def tricky_asserts(self) -> None:
            key8: value8,
            key9: value9,
        }
        )