https://github.com/python/cpython/commit/f932a741909da03edfac7ab537c093d2379599a4
commit: f932a741909da03edfac7ab537c093d2379599a4
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-07-08T17:13:24+03:00
summary:
gh-153339: Remove extra skip in `test_generators.py` (#153340)
files:
M Lib/test/test_free_threading/test_generators.py
diff --git a/Lib/test/test_free_threading/test_generators.py
b/Lib/test/test_free_threading/test_generators.py
index 2b41e28896f5a8..382503eebd123f 100644
--- a/Lib/test/test_free_threading/test_generators.py
+++ b/Lib/test/test_free_threading/test_generators.py
@@ -3,11 +3,10 @@
import threading
import unittest
from threading import Barrier
-from unittest import TestCase
import random
import time
-from test.support import threading_helper, Py_GIL_DISABLED
+from test.support import threading_helper
threading_helper.requires_working_threading(module=True)
@@ -32,8 +31,7 @@ def set_gen_qualname(g, b):
return g.__qualname__
[email protected](Py_GIL_DISABLED, "Enable only in FT build")
-class TestFTGenerators(TestCase):
+class TestFTGenerators(unittest.TestCase):
NUM_THREADS = 4
def concurrent_write_with_func(self, func):
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]