Skip to content

Commit b0a46b5

Browse files
committed
Do not test specialization's thread-safety on threadless builds
This skips the test added in #105953 for threadless builds This fixes the wasm buildbots
1 parent 84caa33 commit b0a46b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_opcache.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import threading
33
import types
44
import unittest
5+
from test.support import threading_helper
56

67

78
class TestLoadSuperAttrCache(unittest.TestCase):
@@ -484,6 +485,7 @@ def f(x, y):
484485
f()
485486

486487

488+
@threading_helper.requires_working_threading()
487489
class TestRacesDoNotCrash(unittest.TestCase):
488490
# Careful with these. Bigger numbers have a higher chance of catching bugs,
489491
# but you can also burn through a *ton* of type/dict/function versions:

0 commit comments

Comments
 (0)