()
| 167 | assert len(temp) == 26 |
| 168 | |
| 169 | def test_copy(): |
| 170 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 171 | temp = SortedDict(mapping) |
| 172 | dup = temp.copy() |
| 173 | assert len(temp) == 26 |
| 174 | assert len(dup) == 26 |
| 175 | dup.clear() |
| 176 | assert len(temp) == 26 |
| 177 | assert len(dup) == 0 |
| 178 | |
| 179 | def test_copy_copy(): |
| 180 | import copy |
nothing calls this directly
no test coverage detected