(self)
| 597 | self.assertEqual(len(d), 0) |
| 598 | |
| 599 | def test_big_stack_left(self): |
| 600 | d = deque() |
| 601 | append, pop = d.appendleft, d.popleft |
| 602 | for i in range(BIG): |
| 603 | append(i) |
| 604 | for i in reversed(range(BIG)): |
| 605 | x = pop() |
| 606 | if x != i: |
| 607 | self.assertEqual(x, i) |
| 608 | self.assertEqual(len(d), 0) |
| 609 | |
| 610 | def test_roundtrip_iter_init(self): |
| 611 | d = deque(range(200)) |
nothing calls this directly
no test coverage detected