Lines Matching refs:WeakValueDictionary
1147 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k))
1177 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
1203 dict = weakref.WeakValueDictionary()
1456 dict = weakref.WeakValueDictionary({364:o})
1461 dict = weakref.WeakValueDictionary({364:o})
1462 dict2 = weakref.WeakValueDictionary(dict)
1467 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__)
1468 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {})
1469 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ())
1473 d = weakref.WeakValueDictionary(**{kw: o})
1478 dict = weakref.WeakValueDictionary()
1503 self.check_popitem(weakref.WeakValueDictionary,
1528 self.check_setdefault(weakref.WeakValueDictionary,
1555 self.check_update(weakref.WeakValueDictionary,
1558 self.assertRaises(TypeError, weakref.WeakValueDictionary.update)
1559 d = weakref.WeakValueDictionary()
1566 d = weakref.WeakValueDictionary()
1587 d = weakref.WeakValueDictionary()
1657 dict = weakref.WeakValueDictionary()
1665 d = weakref.WeakValueDictionary()
1673 d = weakref.WeakValueDictionary()
1683 d = weakref.WeakValueDictionary()
1723 self.assertIn(type_, (weakref.WeakKeyDictionary, weakref.WeakValueDictionary))
1766 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, False)
1771 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, True)
1779 type2test = weakref.WeakValueDictionary