Home | History | Annotate | Download | only in test

Lines Matching refs:union

71         u = self.s.union(self.otherword)
76 self.assertRaises(PassThru, self.s.union, check_pass_thru())
77 self.assertRaises(TypeError, self.s.union, [[]])
79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd'))
80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg'))
81 self.assertEqual(self.thetype('abcba').union(C('ccb')), set('abc'))
82 self.assertEqual(self.thetype('abcba').union(C('ef')), set('abcef'))
83 self.assertEqual(self.thetype('abcba').union(C('ef'), C('fg')), set('abcefg'))
87 self.assertEqual(x.union(set([1]), x, set([2])), self.thetype([1, 2]))
90 i = self.s.union(self.otherword)
1301 self.set.union(self.other)
1303 self.assertRaises(TypeError, self.set.union, self.other)
1615 for meth in (s.union, s.intersection, s.difference, s.symmetric_difference, s.isdisjoint):