(self)
| 75 | self.assertNotEqual(ss1, EMPTY) |
| 76 | |
| 77 | def test_copy(self): |
| 78 | class comparable(object): |
| 79 | def __lt__(self, other): |
| 80 | return id(self) < id(other) |
| 81 | |
| 82 | o = comparable() |
| 83 | ss = sortedset([comparable(), o]) |
| 84 | ss2 = ss.copy() |
| 85 | self.assertNotEqual(id(ss), id(ss2)) |
| 86 | self.assertTrue(o in ss) |
| 87 | self.assertTrue(o in ss2) |
| 88 | |
| 89 | def test_isdisjoint(self): |
| 90 | # set, ss |
nothing calls this directly
no test coverage detected