Skip to content

Commit

Permalink
Demonstrates problem with #1389.
Browse files Browse the repository at this point in the history
Changes existing test's configuration so it has no lines between
sections.
The default of 1 masks the error.
  • Loading branch information
sztamas committed Aug 18, 2020
1 parent 66bc89f commit 6bc66fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -3816,6 +3816,7 @@ def test_isort_keeps_comments_issue_691() -> None:
def test_isort_ensures_blank_line_between_import_and_comment() -> None:
config = {
"ensure_newline_before_comments": True,
"lines_between_sections": 0,
"known_one": ["one"],
"known_two": ["two"],
"known_three": ["three"],
Expand Down

0 comments on commit 6bc66fb

Please sign in to comment.