def test_no_len_on_deque_iter(self):
    from _collections import deque
    iterable = deque([1, 2, 3, 4])
    raises(TypeError, len, iter(iterable))
def test_no_len_on_deque_iter(self):
    from _collections import deque
    iterable = deque([1, 2, 3, 4])
    raises(TypeError, len, iter(iterable))