Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jul 29, 2022
1 parent 60acc2b commit 9763448
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_flake8_trio.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
TRIO106,
Error,
Plugin,
Visitor,
make_error,
trio_async_functions,
)
Expand Down Expand Up @@ -131,7 +130,7 @@ def test_does_not_crash_on_any_valid_code(self, syntax_tree: ast.AST):
# Given any syntatically-valid source code, the checker should
# not crash. This tests doesn't check that we do the *right* thing,
# just that we don't crash on valid-if-poorly-styled code!
Visitor().visit(syntax_tree)
Plugin(syntax_tree).run()

@staticmethod
def _iter_python_files():
Expand Down

0 comments on commit 9763448

Please sign in to comment.