Skip to content
Merged
Prev Previous commit
remove undeterministic test
  • Loading branch information
Fidget-Spinner committed Jun 23, 2025
commit a3b82a0fc416b7f84355e78dcc1926a9864bdcf6
12 changes: 0 additions & 12 deletions Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2388,18 +2388,6 @@ def testfunc(n):

self.assertIn("_POP_TOP_FLOAT", uops)

def test_pop_top_specialize_str(self):
def testfunc(n):
for _ in range(n):
global_identity("2" + "1")

testfunc(TIER2_THRESHOLD)

ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = get_opnames(ex)

self.assertIn("_POP_TOP_UNICODE", uops)


def global_identity(x):
Expand Down
Loading