Skip to content

Commit f932a74

Browse files
authored
gh-153339: Remove extra skip in test_generators.py (#153340)
1 parent fadb785 commit f932a74

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Lib/test/test_free_threading/test_generators.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
import threading
44
import unittest
55
from threading import Barrier
6-
from unittest import TestCase
76
import random
87
import time
98

10-
from test.support import threading_helper, Py_GIL_DISABLED
9+
from test.support import threading_helper
1110

1211
threading_helper.requires_working_threading(module=True)
1312

@@ -32,8 +31,7 @@ def set_gen_qualname(g, b):
3231
return g.__qualname__
3332

3433

35-
@unittest.skipUnless(Py_GIL_DISABLED, "Enable only in FT build")
36-
class TestFTGenerators(TestCase):
34+
class TestFTGenerators(unittest.TestCase):
3735
NUM_THREADS = 4
3836

3937
def concurrent_write_with_func(self, func):

0 commit comments

Comments
 (0)