Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and webknjaz committed May 1, 2024
1 parent a105469 commit 19d3cc7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,7 @@ def test_write_format_controls_all(writer):

# We want to preserve the FormatControl behavior
# so we emit :all: first before packages.
writer.format_control = FormatControl(
no_binary=[":all:"], only_binary=["django"]
)
writer.format_control = FormatControl(no_binary=[":all:"], only_binary=["django"])
lines = list(writer.write_format_controls())

expected_lines = [
Expand All @@ -320,9 +318,7 @@ def test_write_format_controls_all(writer):
]
assert lines == expected_lines

writer.format_control = FormatControl(
no_binary=["django"], only_binary=[":all:"]
)
writer.format_control = FormatControl(no_binary=["django"], only_binary=[":all:"])
lines = list(writer.write_format_controls())

expected_lines = [
Expand Down

0 comments on commit 19d3cc7

Please sign in to comment.