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

Method test_weak_keyed_len_race

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

Source from the content-addressed store, hash-verified

1373 self.assertLessEqual(n2, n1)
1374
1375 def test_weak_keyed_len_race(self):
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))

Callers

nothing calls this directly

Calls 1

check_len_raceMethod · 0.95

Tested by

no test coverage detected