Skip to content
Permalink
Browse files

fix incorrect call (#762)

  • Loading branch information...
JelleZijlstra authored and ambv committed Mar 15, 2019
1 parent d6db1c1 commit b396f137618e4eb7c73b49033530383c45b160f3
Showing with 12 additions and 15 deletions.
  1. +1 −1 black.py
  2. +11 −14 tests/data/composition.py
@@ -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]
@@ -166,17 +166,14 @@ def tricky_asserts(self) -> None:
_C.__init__.__code__.co_firstlineno + 1,
)

assert (
expectedexpectedexpectedexpectedexpectedexpectedexpectedexpectedexpect
== {
key1: value1,
key2: value2,
key3: value3,
key4: value4,
key5: value5,
key6: value6,
key7: value7,
key8: value8,
key9: value9,
}
)
assert expectedexpectedexpectedexpectedexpectedexpectedexpectedexpectedexpect == {
key1: value1,
key2: value2,
key3: value3,
key4: value4,
key5: value5,
key6: value6,
key7: value7,
key8: value8,
key9: value9,
}

0 comments on commit b396f13

Please sign in to comment.
You can’t perform that action at this time.