Skip to content

Commit 162b1ec

Browse files
skip bad tests
1 parent c2c8fbe commit 162b1ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2498,6 +2498,7 @@ def testfunc(n):
24982498

24992499
self.assertIn("_POP_TOP_NOP", uops)
25002500

2501+
@unittest.skipIf(Py_GIL_DISABLED, "FT might immortalize this.")
25012502
def test_pop_top_specialize_int(self):
25022503
def testfunc(n):
25032504
for _ in range(n):
@@ -2511,6 +2512,7 @@ def testfunc(n):
25112512

25122513
self.assertIn("_POP_TOP_INT", uops)
25132514

2515+
@unittest.skipIf(Py_GIL_DISABLED, "FT might immortalize this.")
25142516
def test_pop_top_specialize_float(self):
25152517
def testfunc(n):
25162518
for _ in range(n):

0 commit comments

Comments
 (0)