Skip to content
Prev Previous commit
Next Next commit
Remove test breakpoints
  • Loading branch information
saulshanabrook authored and dpdani committed May 20, 2024
commit 0e7e7eb572d776d449fa7d64f51c879c734b88d6
9 changes: 0 additions & 9 deletions Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1344,13 +1344,8 @@ def thing(a):
class Foo:
attr = 1

breakpoint()

res, ex = self._run_with_optimizer(thing, Foo())
opnames = list(iter_opnames(ex))
for i in iter_opnames(ex):
print(i)

self.assertIsNotNone(ex)
self.assertEqual(res, 200)
guard_type_version_count = opnames.count("_GUARD_TYPE_VERSION")
Expand All @@ -1371,12 +1366,8 @@ def thing(a):
class Foo:
attr = 1

breakpoint()

res, ex = self._run_with_optimizer(thing, Foo())
opnames = list(iter_opnames(ex))
for i in iter_opnames(ex):
print(i)

self.assertIsNotNone(ex)
self.assertEqual(res, 200)
Expand Down