Skip to content

Commit

Permalink
Fix lint: change type check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescooke committed Sep 24, 2023
1 parent 430df47 commit 594e00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/checker/test_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ def test(checker) -> None:

# TODO strip ignores
assert len(checker.tree.body) == 1 # type: ignore
assert type(checker.tree.body[0]) == ast.Assert # type: ignore
assert isinstance(checker.tree.body[0], ast.Assert)
assert len(checker.ast_tokens.tokens) == 8 # type: ignore

0 comments on commit 594e00e

Please sign in to comment.