[3.14] Fix typo in Lib/test/test_ast/test_ast.py (GH-136767) (#136783)

Fix typo in `Lib/test/test_ast/test_ast.py` (GH-136767)

`ASTOptimiziationTests` -> `ASTOptimizationTests`
(cherry picked from commit 60146f4f6f)

Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-07-19 12:23:52 +02:00 committed by GitHub
parent ba6ea7c53d
commit a91e2bc440
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3547,7 +3547,7 @@ def test_show_empty_flag(self):
self.check_output(source, expect, '--show-empty')
class ASTOptimiziationTests(unittest.TestCase):
class ASTOptimizationTests(unittest.TestCase):
def wrap_expr(self, expr):
return ast.Module(body=[ast.Expr(value=expr)])