summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_optimizer.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-02-27 10:51:26 (GMT)
committerGitHub <noreply@github.com>2024-02-27 10:51:26 (GMT)
commit10fbcd6c5dc25bfe14e02fd93ef93498a393860c (patch)
tree408fd5d2857188a57f2fbefb5661dd0067b3d7e0 /Lib/test/test_optimizer.py
parentaf5f9d682c20c951b90e3c020eeccac386c9bbb0 (diff)
downloadcpython-10fbcd6c5dc25bfe14e02fd93ef93498a393860c.zip
cpython-10fbcd6c5dc25bfe14e02fd93ef93498a393860c.tar.gz
cpython-10fbcd6c5dc25bfe14e02fd93ef93498a393860c.tar.bz2
GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953)
Diffstat (limited to 'Lib/test/test_optimizer.py')
-rw-r--r--Lib/test/test_optimizer.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_optimizer.py b/Lib/test/test_optimizer.py
index dfea8be..899a450 100644
--- a/Lib/test/test_optimizer.py
+++ b/Lib/test/test_optimizer.py
@@ -77,5 +77,12 @@ class TestRareEventCounters(unittest.TestCase):
_testinternalcapi.get_rare_event_counters()["func_modification"]
)
+
+class TestOptimizerSymbols(unittest.TestCase):
+
+ def test_optimizer_symbols(self):
+ _testinternalcapi.uop_symbols_test()
+
+
if __name__ == "__main__":
unittest.main()