Rename tier 2 redundancy eliminator to optimizer (#115888)

The original name is just too much of a mouthful.
This commit is contained in:
Guido van Rossum 2024-02-26 08:42:53 -08:00 committed by GitHub
parent 7259480957
commit c0fdfba7ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 30 additions and 30 deletions

View file

@ -33,7 +33,7 @@ with test_tools.imports_under_tool("cases_generator"):
import parser
from stack import Stack
import tier1_generator
import tier2_abstract_generator
import optimizer_generator
def handle_stderr():
@ -841,7 +841,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
temp_input.flush()
with handle_stderr():
tier2_abstract_generator.generate_tier2_abstract_from_files(
optimizer_generator.generate_tier2_abstract_from_files(
[self.temp_input_filename, self.temp_input2_filename],
self.temp_output_filename
)