Lines Matching refs:WeakValueDictionary
1182 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k))
1212 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
1238 dict = weakref.WeakValueDictionary()
1491 dict = weakref.WeakValueDictionary({364:o})
1496 dict = weakref.WeakValueDictionary({364:o})
1497 dict2 = weakref.WeakValueDictionary(dict)
1502 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__)
1503 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {})
1504 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ())
1508 d = weakref.WeakValueDictionary(**{kw: o})
1513 dict = weakref.WeakValueDictionary()
1538 self.check_popitem(weakref.WeakValueDictionary,
1563 self.check_setdefault(weakref.WeakValueDictionary,
1590 self.check_update(weakref.WeakValueDictionary,
1593 self.assertRaises(TypeError, weakref.WeakValueDictionary.update)
1594 d = weakref.WeakValueDictionary()
1601 d = weakref.WeakValueDictionary()
1622 d = weakref.WeakValueDictionary()
1692 dict = weakref.WeakValueDictionary()
1700 d = weakref.WeakValueDictionary()
1708 d = weakref.WeakValueDictionary()
1718 d = weakref.WeakValueDictionary()
1758 self.assertIn(type_, (weakref.WeakKeyDictionary, weakref.WeakValueDictionary))
1801 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, False)
1806 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, True)
1810 d = weakref.WeakValueDictionary()
1819 type2test = weakref.WeakValueDictionary