Skip to content

Commit de9bbf6

Browse files
Improve naming of free-threading race test
1 parent 6d8b559 commit de9bbf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_xml_etree_c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def test_element_with_children(self):
261261
@unittest.skipUnless(cET, 'requires _elementtree')
262262
@threading_helper.requires_working_threading()
263263
class TestElementTreeFreeThreading(unittest.TestCase):
264-
def test_element_extra_race(self):
264+
def test_element_concurrent_clear_and_access(self):
265265
#Race len(), .attrib, and .clear() to verify fix for gh-149861.
266266
root = cET.Element('root')
267267
children = [cET.Element(f'child-{i}') for i in range(5)]

0 commit comments

Comments
 (0)