summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKen Jin <kenjin@python.org>2024-07-12 11:35:53 (GMT)
committerGitHub <noreply@github.com>2024-07-12 11:35:53 (GMT)
commitcd74ed0a71f57e96bcd6c2a996587c58ef5da82d (patch)
treea568fcdb2760e72bb617106a97838906734bafc7 /Lib
parent15c875a57c0fc5acf97fa07fbb01030c97d39d71 (diff)
downloadcpython-cd74ed0a71f57e96bcd6c2a996587c58ef5da82d.zip
cpython-cd74ed0a71f57e96bcd6c2a996587c58ef5da82d.tar.gz
cpython-cd74ed0a71f57e96bcd6c2a996587c58ef5da82d.tar.bz2
[3.13] gh-120198: Stop the world when setting __class__ on free-threaded build (#121591)
(cherry-picked from commit 3bfc9c8)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_free_threading/test_type.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_free_threading/test_type.py b/Lib/test/test_free_threading/test_type.py
index 1e84b2d..29ca929 100644
--- a/Lib/test/test_free_threading/test_type.py
+++ b/Lib/test/test_free_threading/test_type.py
@@ -106,7 +106,7 @@ class TestType(TestCase):
thing = Foo()
def work():
foo = thing
- for _ in range(10000):
+ for _ in range(5000):
foo.__class__ = Bar
type(foo)
foo.__class__ = Foo