Skip to content

Commit

Permalink
Fix expected return type in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Jan 8, 2024
1 parent 918e45a commit 021760e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-data/test-etree.yml
Expand Up @@ -112,7 +112,7 @@
elif event[0] == "end":
reveal_type(event[1]) # N: Revealed type is "lxml.etree._Element"
elif event[0] == "start-ns":
reveal_type(event[1]) # N: Revealed type is "Tuple[Union[builtins.str, builtins.bytes], Union[builtins.str, builtins.bytes]]"
reveal_type(event[1]) # N: Revealed type is "tuple[Union[builtins.str, builtins.bytes], Union[builtins.str, builtins.bytes]]"
elif event[0] == "end-ns":
reveal_type(event[1]) # N: Revealed type is "None"
elif event[0] == "comment":
Expand All @@ -130,7 +130,7 @@
elif event[0] == "end":
reveal_type(event[1]) # N: Revealed type is "lxml.etree._Element"
elif event[0] == "start-ns":
reveal_type(event[1]) # N: Revealed type is "Tuple[Union[builtins.str, builtins.bytes], Union[builtins.str, builtins.bytes]]"
reveal_type(event[1]) # N: Revealed type is "tuple[Union[builtins.str, builtins.bytes], Union[builtins.str, builtins.bytes]]"
elif event[0] == "end-ns":
reveal_type(event[1]) # N: Revealed type is "None"
elif event[0] == "comment":
Expand Down

0 comments on commit 021760e

Please sign in to comment.