• Home
  • Raw
  • Download

Lines Matching refs:WeakValueDictionary

1256         self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k))
1286 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
1314 dict = weakref.WeakValueDictionary()
1570 dict = weakref.WeakValueDictionary({364:o})
1575 dict = weakref.WeakValueDictionary({364:o})
1576 dict2 = weakref.WeakValueDictionary(dict)
1581 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__)
1582 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {})
1583 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ())
1587 d = weakref.WeakValueDictionary(**{kw: o})
1592 dict = weakref.WeakValueDictionary()
1617 self.check_popitem(weakref.WeakValueDictionary,
1642 self.check_setdefault(weakref.WeakValueDictionary,
1669 self.check_update(weakref.WeakValueDictionary,
1672 self.assertRaises(TypeError, weakref.WeakValueDictionary.update)
1673 d = weakref.WeakValueDictionary()
1680 d = weakref.WeakValueDictionary()
1689 wvd1 = weakref.WeakValueDictionary({1: a})
1690 wvd2 = weakref.WeakValueDictionary({1: b, 2: a})
1697 self.assertIs(type(tmp1), weakref.WeakValueDictionary)
1703 self.assertIs(type(tmp2), weakref.WeakValueDictionary)
1710 self.assertIs(type(tmp3), weakref.WeakValueDictionary)
1714 self.assertIs(type(tmp4), weakref.WeakValueDictionary)
1775 d = weakref.WeakValueDictionary()
1846 dict = weakref.WeakValueDictionary()
1854 d = weakref.WeakValueDictionary()
1862 d = weakref.WeakValueDictionary()
1872 d = weakref.WeakValueDictionary()
1912 self.assertIn(type_, (weakref.WeakKeyDictionary, weakref.WeakValueDictionary))
1955 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, False)
1960 self.check_threaded_weak_dict_copy(weakref.WeakValueDictionary, True)
1964 d = weakref.WeakValueDictionary()
1973 type2test = weakref.WeakValueDictionary