Does adding the same item to the node list ignore the additional adds?
()
| 27 | |
| 28 | |
| 29 | async def test_repeat_add_one(): |
| 30 | """Does adding the same item to the node list ignore the additional adds?""" |
| 31 | nodes = NodeList() |
| 32 | widget = Widget() |
| 33 | for _ in range(1000): |
| 34 | nodes._append(widget) |
| 35 | assert len(nodes) == 1 |
| 36 | |
| 37 | |
| 38 | async def test_insert(): |