[3.13] Fix typo in Lib/test/test_ast/test_ast.py (GH-136767) (#137356)
Some checks failed
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Verify bundled wheels / verify (push) Has been cancelled

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

Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>
This commit is contained in:
Brian Schubert 2025-08-04 01:56:07 -04:00 committed by GitHub
parent 1ba09b2f04
commit a2c749d806
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3236,7 +3236,7 @@ class ASTMainTests(unittest.TestCase):
def compare(left, right):
return ast.dump(left) == ast.dump(right)
class ASTOptimiziationTests(unittest.TestCase):
class ASTOptimizationTests(unittest.TestCase):
binop = {
"+": ast.Add(),
"-": ast.Sub(),