We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4310b88 commit 437f14fCopy full SHA for 437f14f
1 file changed
Lib/test/test_defaultdict.py
@@ -7,6 +7,7 @@
7
import unittest
8
9
from collections import defaultdict
10
+from test.support import threading_helper
11
12
def foobar():
13
return list
@@ -188,6 +189,7 @@ def test_union(self):
188
189
with self.assertRaises(TypeError):
190
i |= None
191
192
+ @threading_helper.requires_working_threading()
193
def test_no_value_overwrite_race_condition(self):
194
"""Test that concurrent access to missing keys doesn't overwrite values."""
195
# Use a factory that returns unique objects so we can detect overwrites
0 commit comments