def test_deque_append_doesnt_increase_size_with_maxlen(self) -> None:
     temp_list = ListBasedDeque([1, 2, 3, 4, 5], maxlen=5)
     temp_list.append(42)
     self.assertTrue(len(temp_list) == temp_list.maxlen())
 def test_deque_maxlen(self) -> None:
     l = ListBasedDeque([1, 2, 3], 5)
     self.assertTrue(l.maxlen() == 5)