Skip to content

Commit

Permalink
Fixes CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 7, 2021
1 parent fe5d172 commit 4765481
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -57,9 +57,11 @@ def test_alphabet_as_fstring_violation(
visitor = WrongStringVisitor(default_options, tree=tree)
visitor.run()

assert_errors(visitor, [StringConstantRedefinedViolation], (
FormattedStringViolation,
))
assert_errors(
visitor,
[StringConstantRedefinedViolation],
ignored_types=FormattedStringViolation,
)


@pytest.mark.parametrize('code', [
Expand Down

0 comments on commit 4765481

Please sign in to comment.