From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 19 Jul 2025 10:23:52 +0000 (+0200) Subject: [3.14] Fix typo in `Lib/test/test_ast/test_ast.py` (GH-136767) (#136783) X-Git-Tag: v3.14.0rc1~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a91e2bc440b288c4d3ccc51f068f8d591e0eda1b;p=thirdparty%2FPython%2Fcpython.git [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 60146f4f6f24f37e3bfcb9f101565f6e86cf0146) Co-authored-by: Hunter Hogan --- diff --git a/Lib/test/test_ast/test_ast.py b/Lib/test/test_ast/test_ast.py index 59263012bc14..56e170e128b4 100644 --- a/Lib/test/test_ast/test_ast.py +++ b/Lib/test/test_ast/test_ast.py @@ -3547,7 +3547,7 @@ class CommandLineTests(unittest.TestCase): 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)])