Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Jun 27, 2024
1 parent b635d02 commit e88f583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def test_main(
with open(os.path.join(tmp_path, "VERSION"), "w") as f:
f.write(f"{version}\n")

def check_output(output):
def check_output(output: str):
if isinstance(expected_json, re.Pattern):
assert expected_json.search(output)
else:
Expand Down

0 comments on commit e88f583

Please sign in to comment.