Skip to content

Commit b36bd50

Browse files
Update Lib/test/test_free_threading/test_reversed.py
1 parent 2c5e7ef commit b36bd50

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/test/test_free_threading/test_reversed.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ class TestReversed(unittest.TestCase):
88

99
@threading_helper.reap_threads
1010
def test_reversed(self):
11-
# Test reading out the iterator with multiple threads cannot corrupt
12-
# the reversed iterator state.
13-
# The reversed iterator is not guaranteed to be thread safe
11+
# Iterating over the iterator with multiple threads should not
12+
# emit TSAN warnings
1413
number_of_iterations = 10
1514
number_of_threads = 10
1615
size = 1_000

0 commit comments

Comments
 (0)