def test_pop_front_nonempty(): test_popf = MyList("popping") for _ in xrange(3): test_popf.pop_front() assert get_MyList(test_popf) == "ping"
def test_pop_front_empty(): test_popf = MyList() test_popf.pop_front() assert get_MyList(test_popf) == ""