Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Jul 14, 2024
1 parent a341c57 commit d03c3d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def ast_repr_get_test_cases() -> list[str]:
return exec_tests + eval_tests


def ast_repr_update_snaphots() -> None:
def ast_repr_update_snapshots() -> None:
data = [repr(ast.parse(test)) for test in ast_repr_get_test_cases()]
ast_repr_data_file.write_text("\n".join(data))

Expand Down Expand Up @@ -3429,7 +3429,7 @@ def main():
print("main()")
raise SystemExit
elif sys.argv[1] == '--snapshot-update':
ast_repr_update_snaphots()
ast_repr_update_snapshots()
sys.exit(0)
unittest.main()

Expand Down

0 comments on commit d03c3d1

Please sign in to comment.