MCPcopy Index your code
hub / github.com/python/cpython / test_weak_valued_len_race

Method test_weak_valued_len_race

Lib/test/test_weakref.py:1378–1379  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1376 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1))
1377
1378 def test_weak_valued_len_race(self):
1379 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
1380
1381 def test_weak_values(self):
1382 #

Callers

nothing calls this directly

Calls 1

check_len_raceMethod · 0.95

Tested by

no test coverage detected