MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_weak_keyed_len_race

Method test_weak_keyed_len_race

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

Source from the content-addressed store, hash-verified

1355 self.assertLessEqual(n2, n1)
1356
1357 def test_weak_keyed_len_race(self):
1358 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1))
1359
1360 def test_weak_valued_len_race(self):
1361 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