(self)
| 1735 | eq_(ids2, IdentitySet([o2, o3])) |
| 1736 | |
| 1737 | def test_dunder_eq(self): |
| 1738 | _, _, twin1, twin2, unique1, unique2 = self._create_sets() |
| 1739 | |
| 1740 | # basic set math |
| 1741 | eq_(twin1 == twin2, True) |
| 1742 | eq_(unique1 == unique2, False) |
| 1743 | |
| 1744 | # not an IdentitySet |
| 1745 | not_an_identity_set = object() |
| 1746 | eq_(unique1 == not_an_identity_set, False) |
| 1747 | |
| 1748 | def test_dunder_ne(self): |
| 1749 | _, _, twin1, twin2, unique1, unique2 = self._create_sets() |
nothing calls this directly
no test coverage detected