(self)
| 1640 | eq_(ids2, IdentitySet([o2, o3])) |
| 1641 | |
| 1642 | def test_dunder_eq(self): |
| 1643 | _, _, twin1, twin2, unique1, unique2 = self._create_sets() |
| 1644 | |
| 1645 | # basic set math |
| 1646 | eq_(twin1 == twin2, True) |
| 1647 | eq_(unique1 == unique2, False) |
| 1648 | |
| 1649 | # not an IdentitySet |
| 1650 | not_an_identity_set = object() |
| 1651 | eq_(unique1 == not_an_identity_set, False) |
| 1652 | |
| 1653 | def test_dunder_ne(self): |
| 1654 | _, _, twin1, twin2, unique1, unique2 = self._create_sets() |
nothing calls this directly
no test coverage detected