This line in the
remove_node method does not perform its designated task, because the
get_head_node method is not actually being called:
current_node = self.get_head_node
The intended method call must include parentheses, even though there are no arguments to be passed.
EDIT (September 15, 2019):
The message regarding removing your
remove_node() method accidentally is actually from Codecademy’s submission correctness test (SCT) for this exercise, rather than from the Python interpreter. Though you did not remove that method, the SCT did not find a properly functioning
remove_node() method, and issued a somewhat misleading message about that.