Skip to content

Commit

Permalink
fix fast test
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Jan 26, 2022
1 parent 7c3c94e commit 274b874
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tests/data/power_op_newline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
# output

importA
() << 0**0 #
(
()
<< 0
** 0
) #
2 changes: 1 addition & 1 deletion tests/test_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ def test_power_op_newline() -> None:
# requires line_length=0
source, expected = read_data("power_op_newline")
# fast=True because this exposes a different stability bug
assert_format(source, expected, mode=black.Mode(line_length=0), fast=True)
assert_format(source, expected, mode=black.Mode(line_length=0))

0 comments on commit 274b874

Please sign in to comment.