wenima / data-structures

used for all data structure assignments
1 stars 0 forks source link

on branch dll in test_dbl_linked_list, fix reference in docstring from head to tail #32

Closed wenima closed 7 years ago

wenima commented 7 years ago
    """Test that shifting a populated list reassigns head."""
    dll = create_list_with_iter
    old_tail = dll.tail
    dll.shift()
    assert old_tail.prev.value == dll.tail.value

docstring should be: reassigns tail