(self)
| 268 | self.assertIn(c, self.s) |
| 269 | |
| 270 | def test_intersection_update(self): |
| 271 | retval = self.s.intersection_update(self.items2) |
| 272 | self.assertEqual(retval, None) |
| 273 | for c in (self.items + self.items2): |
| 274 | if c in self.items2 and c in self.items: |
| 275 | self.assertIn(c, self.s) |
| 276 | else: |
| 277 | self.assertNotIn(c, self.s) |
| 278 | self.assertRaises(TypeError, self.s.intersection_update, [[]]) |
| 279 | |
| 280 | def test_iand(self): |
| 281 | self.s &= set(self.items2) |
nothing calls this directly
no test coverage detected