Lines Matching refs:set
739 # set([1,2]) pickled from 2.x with protocol 2
753 # set([3]) pickled from 2.x with protocol 2
952 self.assertEqual(loaded, set([1, 2]))
1676 # Set containing an immutable object containing the original set.
1677 y = set()
1682 self.assertIsInstance(x, set)
1687 # Immutable object containing a set containing the original object.
1693 self.assertIsInstance(x.value, set)
1758 self._test_recursive_collection_and_inst(set)
2279 x = set(range(n))
2291 x = set(range(n))
2478 dumped = self.dumps(set([3]), 2)
2835 (set.__contains__, ({1, 2}, 2)),
3378 class MySet(set):
3638 # Verify that we can set the Pickler's memo attribute.
3656 # Verify that we can set the Unpickler's memo attribute.