Failure to format complex assert
statement
#2123
Labels
C: unstable formatting
Formatting changed on the second pass
R: duplicate
This issue or pull request already exists
T: bug
Something isn't working
Describe the bug A clear and concise description of what the bug is.
Black fails to format complex assert statement.
To Reproduce Steps to reproduce the behavior:
black_bug.py
with contentsblack black_bug.py
Expected behavior A clear and concise description of what you expected to happen.
Format file without error
Environment (please complete the following information):
Does this bug also happen on master? To answer this, you have two options:
Yes, this occurs on
master
as seen here.Additional context Add any other context about the problem here.
If you shorten anything on the line of the arguments for
foo
(line 5 in the code block above) by one or two characters, black formats correctly.The text was updated successfully, but these errors were encountered: