test___class___modification_multithreaded() now requires the 'cpu'
test resource on a Free Threaded build.
import threading
import unittest
from unittest.mock import patch
+from test import support
from test.support import import_helper, threading_helper
This should be the case anyways as our test suite sets
an audit hook.
"""
+
+ if support.Py_GIL_DISABLED:
+ # gh-124402: On a Free Threaded build, the test takes a few minutes
+ support.requires('cpu')
+
class Foo:
pass