Skip to content

Commit cd69203

Browse files
yoneymeta-codesync[bot]
authored andcommitted
Enable free-threading tests for 3.14
Summary: Replace the last `skipUnless` and enable free-threading tests for 3.14 similar to OSS build. Reviewed By: alexmalyshev Differential Revision: D116312531 fbshipit-source-id: e1d95751bc2a9b3c9d997e271f3ef3491c82d4b4
1 parent b5567ae commit cd69203

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cinderx/PythonLib/test_cinderx/test_free_threading/test_jit_lists.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from concurrent.futures import ThreadPoolExecutor
1212

1313
import cinderx.jit
14-
from cinderx.test_support import FREE_THREADING_BUILD, run_in_subprocess
14+
from cinderx.test_support import FREE_THREADING_BUILD, passUnless, run_in_subprocess
1515

1616

1717
class JITListTest(unittest.TestCase):
@@ -90,7 +90,7 @@ def read_item(values: list[str]) -> str:
9090

9191
self.exercise_concurrent_access(read_item)
9292

93-
@unittest.skipUnless(FREE_THREADING_BUILD, "requires free-threaded build")
93+
@passUnless(FREE_THREADING_BUILD, "requires free-threaded build")
9494
@run_in_subprocess
9595
def test_concurrent_subscript_with_simplify(self) -> None:
9696
"""Use the owned-reference ListSubscr path for exact lists."""

0 commit comments

Comments
 (0)